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()); |