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

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp

Issue 1467123003: Create base class for common functionality of Web{Local,Remote}Frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 5 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/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;
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameImplBase.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698