| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 2dfa7e1aff181be0045126f367c1ebb98da07b07..709f1df97c0f0539ce100aadda25b7c42510709d 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -1819,9 +1819,7 @@
|
| if (!m_page)
|
| return;
|
|
|
| - // FIXME: This should probably be using the local root?
|
| - if (m_page->mainFrame()->isLocalFrame())
|
| - PageWidgetDelegate::animate(m_page.get(), validFrameTime.lastFrameTimeMonotonic, m_page->deprecatedLocalMainFrame());
|
| + PageWidgetDelegate::animate(m_page.get(), validFrameTime.lastFrameTimeMonotonic);
|
|
|
| if (m_continuousPaintingEnabled) {
|
| ContinuousPainter::setNeedsDisplayRecursive(m_rootGraphicsLayer, m_pageOverlays.get());
|
| @@ -1857,7 +1855,7 @@
|
| ASSERT(!isAcceleratedCompositingActive());
|
|
|
| double paintStart = currentTime();
|
| - PageWidgetDelegate::paint(m_page.get(), pageOverlays(), canvas, rect, isTransparent() ? PageWidgetDelegate::Translucent : PageWidgetDelegate::Opaque, m_page->deprecatedLocalMainFrame());
|
| + PageWidgetDelegate::paint(m_page.get(), pageOverlays(), canvas, rect, isTransparent() ? PageWidgetDelegate::Translucent : PageWidgetDelegate::Opaque);
|
| double paintEnd = currentTime();
|
| double pixelsPerSec = (rect.width * rect.height) / (paintEnd - paintStart);
|
| Platform::current()->histogramCustomCounts("Renderer4.SoftwarePaintDurationMS", (paintEnd - paintStart) * 1000, 0, 120, 30);
|
| @@ -1876,7 +1874,7 @@
|
| PaintBehavior oldPaintBehavior = view->paintBehavior();
|
| view->setPaintBehavior(oldPaintBehavior | PaintBehaviorFlattenCompositingLayers);
|
|
|
| - PageWidgetDelegate::paint(m_page.get(), pageOverlays(), canvas, rect, isTransparent() ? PageWidgetDelegate::Translucent : PageWidgetDelegate::Opaque, m_page->deprecatedLocalMainFrame());
|
| + PageWidgetDelegate::paint(m_page.get(), pageOverlays(), canvas, rect, isTransparent() ? PageWidgetDelegate::Translucent : PageWidgetDelegate::Opaque);
|
|
|
| view->setPaintBehavior(oldPaintBehavior);
|
| }
|
| @@ -2067,7 +2065,7 @@
|
| return true;
|
| }
|
|
|
| - return PageWidgetDelegate::handleInputEvent(m_page.get(), *this, inputEvent, m_page->deprecatedLocalMainFrame());
|
| + return PageWidgetDelegate::handleInputEvent(m_page.get(), *this, inputEvent);
|
| }
|
|
|
| void WebViewImpl::setCursorVisibilityState(bool isVisible)
|
|
|