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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp

Issue 2723993002: Rename platform/Widget to platform/FrameViewBase in core. (Closed)
Patch Set: Created 3 years, 10 months 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/core/layout/compositing/CompositedLayerMapping.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
index 9328460562c2e41ae35001f33e58dda965ee8de8..84f64b1d3bc19c228698baa43e2c857d17b93c23 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
@@ -151,10 +151,10 @@ static bool contentLayerSupportsDirectBackgroundComposition(
static WebLayer* platformLayerForPlugin(LayoutObject& layoutObject) {
if (!layoutObject.isEmbeddedObject())
return nullptr;
- Widget* widget = toLayoutEmbeddedObject(layoutObject).widget();
- if (!widget || !widget->isPluginView())
+ FrameViewBase* frameViewBase = toLayoutEmbeddedObject(layoutObject).widget();
+ if (!frameViewBase || !frameViewBase->isPluginView())
return nullptr;
- return toPluginView(widget)->platformLayer();
+ return toPluginView(frameViewBase)->platformLayer();
}
static inline bool isAcceleratedContents(LayoutObject& layoutObject) {
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp ('k') | third_party/WebKit/Source/core/loader/EmptyClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698