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

Unified Diff: src/GlobalJsObject.cpp

Issue 29393589: Issue 5013 - Make more methods const.- introduced JsConstValuePtr and JsConstValueList- JsValue:… (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Patch Set: Created March 23, 2017, 6:12 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: src/GlobalJsObject.cpp
===================================================================
--- a/src/GlobalJsObject.cpp
+++ b/src/GlobalJsObject.cpp
@@ -57,17 +57,17 @@ namespace
Sleep(delay);
function->Call(functionArguments);
}
private:
JsValuePtr function;
int delay;
- JsValueList functionArguments;
+ JsConstValueList functionArguments;
};
v8::Handle<v8::Value> SetTimeoutCallback(const v8::Arguments& arguments)
{
TimeoutThread* timeoutThread;
try
{
AdblockPlus::JsValueList converted =
« src/FilterEngine.cpp ('K') | « src/FilterEngine.cpp ('k') | src/JsValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld