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 94203c30a5040019de9bbd7657eed598696dd2ce..680b59bee3be2ca742845d4bbf81da458a8ba781 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptController.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptController.h |
@@ -112,6 +112,10 @@ class CORE_EXPORT ScriptController final |
// Returns true if argument is a JavaScript URL. |
bool ExecuteScriptIfJavaScriptURL(const KURL&, Element*); |
+ // Creates an isolated world with the specified ID if one doesn't already |
+ // exist. |
+ void EnsureIsolatedWorld(int world_id); |
+ |
// Returns true if the current world is isolated, and has its own Content |
// Security Policy. In this case, the policy of the main world should be |
// ignored when evaluating resources injected into the DOM. |