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

Unified Diff: compiled/subscription/UserDefinedSubscription.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: rebase Created March 15, 2018, 1:53 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
« no previous file with comments | « compiled/subscription/Subscription.cpp ('k') | test/compiled/Filter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/subscription/UserDefinedSubscription.cpp
diff --git a/compiled/subscription/UserDefinedSubscription.cpp b/compiled/subscription/UserDefinedSubscription.cpp
index 5e3972e09d80281d08e5f9c192b7ae129a2c6ce2..dd1bf2de4c2abe484562c41ba7875f5a0415c4de 100644
--- a/compiled/subscription/UserDefinedSubscription.cpp
+++ b/compiled/subscription/UserDefinedSubscription.cpp
@@ -93,14 +93,14 @@ OwnedString UserDefinedSubscription::Serialize() const
OwnedString result(Subscription::Serialize());
if (!IsGeneric())
{
- result.append(u"defaults="_str);
+ result.append(ABP_TEXT("defaults="_str));
if (mDefaults & FilterCategory::BLOCKING)
- result.append(u" blocking"_str);
+ result.append(ABP_TEXT(" blocking"_str));
if (mDefaults & FilterCategory::WHITELIST)
- result.append(u" whitelist"_str);
+ result.append(ABP_TEXT(" whitelist"_str));
if (mDefaults & FilterCategory::ELEMHIDE)
- result.append(u" elemhide"_str);
- result.append(u'\n');
+ result.append(ABP_TEXT(" elemhide"_str));
+ result.append(ABP_TEXT('\n'));
}
return result;
}
« no previous file with comments | « compiled/subscription/Subscription.cpp ('k') | test/compiled/Filter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld