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

Unified Diff: shell/src/FiltersCommand.cpp

Issue 29416579: Issue 5034 - Part 1: Pass a JsValue directly to SetProperty() and return from GetProperty() (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Patch Set: Created April 18, 2017, 9:17 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: shell/src/FiltersCommand.cpp
===================================================================
--- a/shell/src/FiltersCommand.cpp
+++ b/shell/src/FiltersCommand.cpp
@@ -49,17 +49,17 @@
break;
case AdblockPlus::Filter::TYPE_INVALID:
type = "invalid";
break;
default:
type = "(unknown type)";
break;
}
- std::cout << (*it)->GetProperty("text")->AsString() << " - " <<
+ std::cout << (*it)->GetProperty("text").AsString() << " - " <<
type << std::endl;
}
}
}
FiltersCommand::FiltersCommand(AdblockPlus::FilterEngine& filterEngine)
: Command("filters"), filterEngine(filterEngine)
{
« no previous file with comments | « include/AdblockPlus/JsValue.h ('k') | shell/src/MatchesCommand.cpp » ('j') | src/JsEngine.cpp » ('J')

Powered by Google App Engine
This is Rietveld