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

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

Issue 2386173002: reflow comments in Source/bindings/core/v8 (Closed)
Patch Set: Created 4 years, 2 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.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,

Powered by Google App Engine
This is Rietveld 408576698