Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(679)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.h

Issue 2180663002: Replace compileAndRunInternalScript with not internal in DocumentWriteEvaluator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.h b/third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.h
index 1dffc3e7382819650a9dadf95c6913546c1fdada..36b63d404c85f477d82110da3ddf72af16dceb8a 100644
--- a/third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.h
+++ b/third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.h
@@ -37,7 +37,7 @@ public:
// Initializes the V8 context for this document. Returns whether
// initialization was needed.
bool ensureEvaluationContext();
- String evaluateAndEmitWrittenSource(const String& scriptSource);
+ String evaluateAndEmitWrittenSource(const String& scriptSource, ExecutionContext*);
bool shouldEvaluate(const String& scriptSource);
void recordDocumentWrite(const String& documentWrittenString);
@@ -45,7 +45,7 @@ public:
private:
explicit DocumentWriteEvaluator(const Document&);
// Returns true if the evaluation succeeded with no errors.
- bool evaluate(const String& scriptSource);
+ bool evaluate(const String& scriptSource, ExecutionContext*);
// All the strings that are document.written in the script tag that is being
// scanned.
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698