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

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

Issue 2854853006: Simplify FrameLoader::Clear(), remove FrameLoader::check_timer_ (Closed)
Patch Set: Move EnableEval(), remove unneeded(?) Clear() calls Created 3 years, 7 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
Index: third_party/WebKit/Source/bindings/core/v8/ScriptController.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptController.h b/third_party/WebKit/Source/bindings/core/v8/ScriptController.h
index 901afc394b9646e902fdf793997407fb252f6681..2e57cf892793630db169d965bc524e20a5622c4c 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptController.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptController.h
@@ -116,7 +116,6 @@ class CORE_EXPORT ScriptController final
// ignored when evaluating resources injected into the DOM.
bool ShouldBypassMainWorldCSP();
- void EnableEval();
void DisableEval(const String& error_message);
TextPosition EventHandlerPosition() const;
@@ -143,6 +142,7 @@ class CORE_EXPORT ScriptController final
v8::Isolate* GetIsolate() const {
return window_proxy_manager_->GetIsolate();
}
+ void EnableEval();
v8::Local<v8::Value> EvaluateScriptInMainWorld(const ScriptSourceCode&,
AccessControlStatus,

Powered by Google App Engine
This is Rietveld 408576698