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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/ElementShadow.h

Issue 1514233003: Make assignedSlot return null for a slot in a closed shadow tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v1-slots
Patch Set: rebased Created 5 years 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/dom/Node.cpp ('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/dom/shadow/ElementShadow.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/ElementShadow.h b/third_party/WebKit/Source/core/dom/shadow/ElementShadow.h
index bd67343226c0eea6d9d0c7e1dd60c6bc74069c69..6c555800ae7dd853786a18dab498fc9d4ba90d45 100644
--- a/third_party/WebKit/Source/core/dom/shadow/ElementShadow.h
+++ b/third_party/WebKit/Source/core/dom/shadow/ElementShadow.h
@@ -84,6 +84,7 @@ public:
void didDistributeNode(const Node*, InsertionPoint*);
bool isV1() const { return youngestShadowRoot().isV1(); };
+ bool isOpen() const { return youngestShadowRoot().isOpen(); };
DECLARE_TRACE();
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698