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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutPart.cpp

Issue 1602663003: Framelet Prototype 2016 using Mojo IPC Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Disabled oilpan Created 4 years, 11 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/LayoutPart.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutPart.cpp b/third_party/WebKit/Source/core/layout/LayoutPart.cpp
index bf0d5466e9ffb802920c36b9b4df9341007a8777..16f7100e30e4b47f222d466c43a538c0b65c8075 100644
--- a/third_party/WebKit/Source/core/layout/LayoutPart.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutPart.cpp
@@ -121,7 +121,13 @@ bool LayoutPart::requiresAcceleratedCompositing() const
if (widget() && widget()->isPluginView() && toPluginView(widget())->platformLayer())
return true;
- if (!node() || !node()->isFrameOwnerElement())
+ if (!node())
+ return false;
+
+ if (node()->isFrameletElement())
+ return true;
+
+ if (!node()->isFrameOwnerElement())
return false;
HTMLFrameOwnerElement* element = toHTMLFrameOwnerElement(node());

Powered by Google App Engine
This is Rietveld 408576698