Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
index 94cae36c4d2075b1438d28417db77243c30bdaa9..c8c83ee97ed269bf35badb1874def1fbe770b4e6 100644 |
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
@@ -1016,7 +1016,7 @@ void WebFrameWidgetImpl::setIsAcceleratedCompositingActive(bool active) |
PaintLayerCompositor* WebFrameWidgetImpl::compositor() const |
{ |
- LocalFrame* frame = toLocalFrame(toCoreFrame(m_localRoot)); |
+ LocalFrame* frame = m_localRoot->frame(); |
if (!frame || !frame->document() || !frame->document()->layoutView()) |
return nullptr; |