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

Unified Diff: third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp

Issue 2390543002: Reflow comments in core/dom/. (Closed)
Patch Set: Reformat comments in core/dom/. 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/dom/IntersectionObserverController.cpp
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp b/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp
index 5e98a5e95196ecab440b39ae9039741bbbf94086..24bb0f0578901be850f608df78f40f35b75e471b 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp
@@ -30,9 +30,9 @@ void IntersectionObserverController::scheduleIntersectionObserverForDelivery(
IntersectionObserver& observer) {
m_pendingIntersectionObservers.add(&observer);
if (!m_weakPtrFactory.hasWeakPtrs()) {
- // TODO(ojan): These tasks decide whether to throttle a subframe, so they need to
- // be unthrottled, but we should throttle all the other tasks (e.g. ones coming from
- // the web page).
+ // TODO(ojan): These tasks decide whether to throttle a subframe, so they
+ // need to be unthrottled, but we should throttle all the other tasks
+ // (e.g. ones coming from the web page).
TaskRunnerHelper::get(TaskType::Unthrottled, getExecutionContext())
->postTask(BLINK_FROM_HERE,
WTF::bind(&IntersectionObserverController::
@@ -42,8 +42,8 @@ void IntersectionObserverController::scheduleIntersectionObserverForDelivery(
}
void IntersectionObserverController::resume() {
- // If the callback fired while DOM objects were suspended, notifications might be late, so deliver
- // them right away (rather than waiting to fire again).
+ // If the callback fired while DOM objects were suspended, notifications might
+ // be late, so deliver them right away (rather than waiting to fire again).
if (m_callbackFiredWhileSuspended) {
m_callbackFiredWhileSuspended = false;
deliverIntersectionObservations();

Powered by Google App Engine
This is Rietveld 408576698