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

Unified Diff: third_party/WebKit/Source/core/html/HTMLObjectElement.h

Issue 2727233005: Remove calls to styleForLayoutObject() in LayoutTreeBuilder::style() (Closed)
Patch Set: Format issue Created 3 years, 9 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/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; }

Powered by Google App Engine
This is Rietveld 408576698