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: 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/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;
}

Powered by Google App Engine
This is Rietveld