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

Unified Diff: src/WebRequestJsObject.h

Issue 10305024: Simplify context setup, set properties on the global object directly instead of using templates (Closed)
Patch Set: Unbitrotted patch Created April 18, 2013, 11:44 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
Index: src/WebRequestJsObject.h
===================================================================
--- a/src/WebRequestJsObject.h
+++ b/src/WebRequestJsObject.h
@@ -4,13 +4,13 @@
#include <v8.h>
namespace AdblockPlus
{
class JsEngine;
namespace WebRequestJsObject
{
- v8::Handle<v8::ObjectTemplate> Create(JsEngine& jsEngine);
+ JsValuePtr Setup(JsEngine& jsEngine, JsValuePtr obj);
}
}
#endif
« src/GlobalJsObject.cpp ('K') | « src/JsEngine.cpp ('k') | src/WebRequestJsObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld