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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.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
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/frame/Settings.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b42da5159917ed6d0fa5d353d69374a060836dc3..3524f4d76886fecba87d9725b2c88cfc03c5905c 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -1292,12 +1292,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() {
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/frame/Settings.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698