| 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.
|
|
|