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

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

Issue 2647293002: Disable <meta> tag in a shadow tree (Closed)
Patch Set: Created 3 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/html/HTMLMetaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMetaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMetaElement.cpp
index d1d9ad5bb5e53b00c5b6261986f305aeb66860de..7c1376b7afe1bde9922cb6c2d7a09e4dbc746d13 100644
--- a/third_party/WebKit/Source/core/html/HTMLMetaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMetaElement.cpp
@@ -459,7 +459,7 @@ static bool inDocumentHead(HTMLMetaElement* element) {
}
void HTMLMetaElement::process() {
- if (!isConnected())
+ if (!isInDocumentTree())
return;
// All below situations require a content attribute (which can be the empty

Powered by Google App Engine
This is Rietveld 408576698