Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: compiled/filter/CommentFilter.cpp

Issue 29721753: Issue 6180 - use ABP_TEXT everywhere in order to let String be a UTF-8 string (Closed) Base URL: https://github.com/adblockplus/adblockpluscore.git@adb2678354813ce5b6de095072954c5a784a7bc4
Patch Set: Created March 13, 2018, 6:20 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: compiled/filter/CommentFilter.cpp
diff --git a/compiled/filter/CommentFilter.cpp b/compiled/filter/CommentFilter.cpp
index b55db264ece931669a186f52415d0be95896b0ee..c3747d018992e1a544f3edea79a6748fe70b7f7e 100644
--- a/compiled/filter/CommentFilter.cpp
+++ b/compiled/filter/CommentFilter.cpp
@@ -26,7 +26,7 @@ CommentFilter::CommentFilter(const String& text)
Filter::Type CommentFilter::Parse(const String& text)
{
- if (text.length() && text[0] == u'!')
+ if (text.length() && text[0] == ABP_TEXT('!'))
return Type::COMMENT;
else
return Type::UNKNOWN;

Powered by Google App Engine
This is Rietveld