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

Unified Diff: third_party/WebKit/Source/core/events/EventTarget.cpp

Issue 2394653003: reflow comments in core/events,core/fileapi (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/core/events/EventTarget.cpp
diff --git a/third_party/WebKit/Source/core/events/EventTarget.cpp b/third_party/WebKit/Source/core/events/EventTarget.cpp
index 1196502eddaaada87310931f96faa58c41176fe1..bec81263ddf910d7cedf02f6f9cef151f16c805d 100644
--- a/third_party/WebKit/Source/core/events/EventTarget.cpp
+++ b/third_party/WebKit/Source/core/events/EventTarget.cpp
@@ -596,8 +596,8 @@ bool EventTarget::fireEventListeners(Event* event,
// Fire all listeners registered for this event. Don't fire listeners removed
// during event dispatch. Also, don't fire event listeners added during event
// dispatch. Conveniently, all new event listeners will be added after or at
- // index |size|, so iterating up to (but not including) |size| naturally excludes
- // new event listeners.
+ // index |size|, so iterating up to (but not including) |size| naturally
+ // excludes new event listeners.
if (checkTypeThenUseCount(event, EventTypeNames::beforeunload,
UseCounter::DocumentBeforeUnloadFired)) {
@@ -676,15 +676,15 @@ bool EventTarget::fireEventListeners(Event* event,
continue;
EventListener* listener = registeredListener.listener();
- // The listener will be retained by Member<EventListener> in the registeredListener,
- // i and size are updated with the firing event iterator
+ // The listener will be retained by Member<EventListener> in the
+ // registeredListener, i and size are updated with the firing event iterator
// in case the listener is removed from the listener vector below.
if (registeredListener.once())
removeEventListener(event->type(), listener,
registeredListener.capture());
- // If stopImmediatePropagation has been called, we just break out immediately, without
- // handling any more events on this target.
+ // If stopImmediatePropagation has been called, we just break out
+ // immediately, without handling any more events on this target.
if (event->immediatePropagationStopped())
break;
@@ -699,8 +699,8 @@ bool EventTarget::fireEventListeners(Event* event,
listener->handleEvent(context, event);
firedListener = true;
- // If we're about to report this event listener as blocking, make sure it wasn't
- // removed while handling the event.
+ // If we're about to report this event listener as blocking, make sure it
+ // wasn't removed while handling the event.
if (shouldReportBlockedEvent && i > 0 &&
entry[i - 1].listener() == listener && !entry[i - 1].passive() &&
!entry[i - 1].blockedEventWarningEmitted() &&
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTarget.h ('k') | third_party/WebKit/Source/core/events/GestureEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698