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

Unified Diff: src/plugin/AdblockPlusDomTraverser.cpp

Issue 5747779603267584: Issue #1234 - Rework strings in debug facility (Closed)
Patch Set: typo fix Created March 5, 2015, 12:43 a.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 | « src/plugin/AdblockPlusClient.cpp ('k') | src/plugin/Config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/AdblockPlusDomTraverser.cpp
===================================================================
--- a/src/plugin/AdblockPlusDomTraverser.cpp
+++ b/src/plugin/AdblockPlusDomTraverser.cpp
@@ -150,12 +150,12 @@
if (SUCCEEDED(pStyle->put_display(sbstrNone)))
{
- DEBUG_HIDE_EL(indent + L"HideEl::Hiding " + type + L" url:" + ToCString(url))
+ DEBUG_HIDE_EL(ToWstring(indent) + L"HideEl::Hiding " + ToWstring(type) + L" url:" + url)
#ifdef ENABLE_DEBUG_RESULT
if (isDebug)
{
- CPluginDebug::DebugResultHiding(type, ToCString(url), "-");
+ CPluginDebug::DebugResultHiding(ToWstring(type), url, L"-");
}
#endif // ENABLE_DEBUG_RESULT
}
« no previous file with comments | « src/plugin/AdblockPlusClient.cpp ('k') | src/plugin/Config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld