| Index: third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
|
| index 7717a279eef1d616f3e5f384ced6c8e56c293940..5947a4ffbb12a94b4e8e271148c1b0f32e3c8792 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
|
| @@ -257,8 +257,8 @@ void ScriptController::registerExtensionIfNeeded(v8::Extension* extension) {
|
| }
|
|
|
| void ScriptController::clearWindowProxy() {
|
| - // V8 binding expects ScriptController::clearWindowProxy only be called
|
| - // when a frame is loading a new page. This creates a new context for the new page.
|
| + // V8 binding expects ScriptController::clearWindowProxy only be called when a
|
| + // frame is loading a new page. This creates a new context for the new page.
|
| m_windowProxyManager->clearForNavigation();
|
| MainThreadDebugger::instance()->didClearContextsForFrame(frame());
|
| }
|
| @@ -269,7 +269,8 @@ void ScriptController::collectIsolatedContexts(
|
| }
|
|
|
| void ScriptController::updateDocument() {
|
| - // For an uninitialized main window windowProxy, do not incur the cost of context initialization.
|
| + // For an uninitialized main window windowProxy, do not incur the cost of
|
| + // context initialization.
|
| if (!m_windowProxyManager->mainWorldProxy()->isGlobalInitialized())
|
| return;
|
|
|
| @@ -301,7 +302,8 @@ bool ScriptController::canExecuteScripts(
|
| if (frame()->document() && frame()->document()->isSandboxed(SandboxScripts)) {
|
| if (isInPrivateScriptIsolateWorld(isolate()))
|
| return true;
|
| - // FIXME: This message should be moved off the console once a solution to https://bugs.webkit.org/show_bug.cgi?id=103274 exists.
|
| + // FIXME: This message should be moved off the console once a solution to
|
| + // https://bugs.webkit.org/show_bug.cgi?id=103274 exists.
|
| if (reason == AboutToExecuteScript)
|
| frame()->document()->addConsoleMessage(ConsoleMessage::create(
|
| SecurityMessageSource, ErrorMessageLevel,
|
|
|