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

Unified Diff: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp

Issue 1901403002: Remove UserAgent ShadowRoot + Author ShadowRoot code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Element::createShadowRoot, update some tests Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLPlugInElement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
index 1da1e93109033462b7d7b84b131ae44c13d6fbdd..9c3e5a948a0cb28dd1e21f5d12af8e3e60db8419 100644
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
@@ -586,11 +586,6 @@ void HTMLPlugInElement::didAddUserAgentShadowRoot(ShadowRoot&)
userAgentShadowRoot()->appendChild(HTMLContentElement::create(document()));
}
-void HTMLPlugInElement::willAddFirstAuthorShadowRoot()
-{
- lazyReattachIfAttached();
-}
-
bool HTMLPlugInElement::hasFallbackContent() const
{
return false;
@@ -598,7 +593,7 @@ bool HTMLPlugInElement::hasFallbackContent() const
bool HTMLPlugInElement::useFallbackContent() const
{
- return openShadowRoot();
+ return false;
}
void HTMLPlugInElement::lazyReattachIfNeeded()
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLPlugInElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698