| Index: third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| index bc8de18dead2c094a7a51102ceaa2067c82e9a77..eb07ec0dae0d3752b517c29c46dd7b9befe6ea1e 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| @@ -30,7 +30,6 @@
|
| #include "core/html/HTMLIFrameElement.h"
|
| #include "core/layout/HitTestResult.h"
|
| #include "core/layout/LayoutGeometryMap.h"
|
| -#include "core/layout/LayoutMedia.h"
|
| #include "core/layout/LayoutPart.h"
|
| #include "core/layout/ViewFragmentationContext.h"
|
| #include "core/layout/api/LayoutAPIShim.h"
|
| @@ -989,26 +988,6 @@ void LayoutView::willBeDestroyed() {
|
| m_compositor.reset();
|
| }
|
|
|
| -void LayoutView::registerMediaForPositionChangeNotification(
|
| - LayoutMedia& media) {
|
| - if (!m_mediaForPositionNotification.contains(&media))
|
| - m_mediaForPositionNotification.append(&media);
|
| -}
|
| -
|
| -void LayoutView::unregisterMediaForPositionChangeNotification(
|
| - LayoutMedia& media) {
|
| - size_t at = m_mediaForPositionNotification.find(&media);
|
| - if (at != kNotFound)
|
| - m_mediaForPositionNotification.remove(at);
|
| -}
|
| -
|
| -void LayoutView::sendMediaPositionChangeNotifications(
|
| - const IntRect& visibleRect) {
|
| - for (auto& media : m_mediaForPositionNotification) {
|
| - media->notifyPositionMayHaveChanged(visibleRect);
|
| - }
|
| -}
|
| -
|
| void LayoutView::updateFromStyle() {
|
| LayoutBlockFlow::updateFromStyle();
|
|
|
|
|