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(); |