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

Unified Diff: src/plugin/PluginClass.cpp

Issue 5491870822039552: Issue #1234 - Remove old versions of ToWstring and ToCString (Closed)
Patch Set: Created Jan. 13, 2015, 3:35 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 | « src/plugin/AdblockPlusDomTraverser.cpp ('k') | src/plugin/PluginDebug.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginClass.cpp
===================================================================
--- a/src/plugin/PluginClass.cpp
+++ b/src/plugin/PluginClass.cpp
@@ -1248,11 +1248,11 @@
std::wstring urlString = GetTab()->GetDocumentUrl();
if (client->IsWhitelistedUrl(urlString))
{
- settings->RemoveWhiteListedDomain(to_CString(client->GetHostFromUrl(urlString)));
+ settings->RemoveWhiteListedDomain(ToCString(client->GetHostFromUrl(urlString)));
}
else
{
- settings->AddWhiteListedDomain(to_CString(client->GetHostFromUrl(urlString)));
+ settings->AddWhiteListedDomain(ToCString(client->GetHostFromUrl(urlString)));
}
GetBrowser()->Refresh();
}
« no previous file with comments | « src/plugin/AdblockPlusDomTraverser.cpp ('k') | src/plugin/PluginDebug.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld