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

Unified Diff: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp

Issue 2510353004: Deprecating AutoplayExperimentHelper (Closed)
Patch Set: rebased Created 4 years 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/paint/PaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
index 23d71cbfdee7939d669fea414f9174bb59fc39d4..9982e8a03fa82f724ad7bf3b25c33e0bfe9c0ef2 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
@@ -363,13 +363,6 @@ void PaintInvalidator::invalidatePaintIfNeeded(
if (frameView.frame().selection().isCaretBoundsDirty())
frameView.frame().selection().invalidateCaretRect();
-
- // Temporary callback for crbug.com/487345,402044
- // TODO(ojan): Make this more general to be used by PositionObserver
- // and rAF throttling.
- IntRect visibleRect =
- frameView.rootFrameToContents(frameView.computeVisibleArea());
- layoutView->sendMediaPositionChangeNotifications(visibleRect);
}
void PaintInvalidator::invalidatePaintIfNeeded(
« no previous file with comments | « third_party/WebKit/Source/core/layout/api/LayoutViewItem.h ('k') | third_party/WebKit/Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698