Index: third_party/WebKit/Source/core/html/HTMLObjectElement.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLObjectElement.h b/third_party/WebKit/Source/core/html/HTMLObjectElement.h |
index c9c35355c963c47b6584fa487e1fe0ad96fcfcbd..6a04b585e8976f8aa5135d3364b4e56fb4dd49fb 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLObjectElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLObjectElement.h |
@@ -119,6 +119,8 @@ class CORE_EXPORT HTMLObjectElement final : public HTMLPlugInElement, |
void reloadPluginOnAttributeChange(const QualifiedName&); |
+ bool childrenCanHaveStyle() const { return willUseFallbackContentAtLayout(); } |
+ |
bool shouldRegisterAsNamedItem() const override { return true; } |
bool shouldRegisterAsExtraNamedItem() const override { return true; } |