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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2510353004: Deprecating AutoplayExperimentHelper (Closed)
Patch Set: cleaned up the layout code no longer used Created 4 years, 1 month 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/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index c380e310f2542f72e4dc790659887ac73905d7fb..3b281549eb812a1fa6a2ef550a0882ceeaae1322 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -1306,12 +1306,6 @@ void FrameView::invalidatePaintIfNeeded(
if (m_frame->selection().isCaretBoundsDirty())
m_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 = rootFrameToContents(computeVisibleArea());
- layoutViewItem().sendMediaPositionChangeNotifications(visibleRect);
}
IntRect FrameView::computeVisibleArea() {

Powered by Google App Engine
This is Rietveld 408576698