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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.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/V8AbstractEventListener.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp b/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp
index fe8e419f698a603b80f8b7a17561a46f48dd8157..2be84b191930e572478b295e1b13264a28eadc53 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp
@@ -120,7 +120,8 @@ void V8AbstractEventListener::invokeEventHandler(ScriptState* scriptState,
v8::Local<v8::Value> returnValue;
{
- // Catch exceptions thrown in the event handler so they do not propagate to javascript code that caused the event to fire.
+ // Catch exceptions thrown in the event handler so they do not propagate to
+ // javascript code that caused the event to fire.
v8::TryCatch tryCatch(isolate());
tryCatch.SetVerbose(true);
@@ -130,7 +131,8 @@ void V8AbstractEventListener::invokeEventHandler(ScriptState* scriptState,
V8HiddenValue::event(isolate()));
tryCatch.Reset();
- // Make the event available in the global object, so LocalDOMWindow can expose it.
+ // Make the event available in the global object, so LocalDOMWindow can
+ // expose it.
V8HiddenValue::setHiddenValue(scriptState, scriptState->context()->Global(),
V8HiddenValue::event(isolate()), jsEvent);
tryCatch.Reset();
@@ -148,7 +150,8 @@ void V8AbstractEventListener::invokeEventHandler(ScriptState* scriptState,
}
tryCatch.Reset();
- // Restore the old event. This must be done for all exit paths through this method.
+ // Restore the old event. This must be done for all exit paths through this
+ // method.
if (savedEvent.IsEmpty())
V8HiddenValue::setHiddenValue(
scriptState, scriptState->context()->Global(),
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/ToV8.h ('k') | third_party/WebKit/Source/bindings/core/v8/V8Binding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698