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 e55b0cbea158533e3b9706ff767058bb6f59ba39..7d48679c39804d0e821ffd413b4091ada1e9c713 100644 |
--- a/third_party/WebKit/Source/core/dom/shadow/ElementShadow.h |
+++ b/third_party/WebKit/Source/core/dom/shadow/ElementShadow.h |
@@ -81,12 +81,17 @@ private: |
void distribute(); |
void clearDistribution(); |
+ void distributeV0(); |
+ void distributeV1(); |
kochi
2015/10/21 03:13:51
Do we use "V1" in the source code?
I guess V0 is o
|
+ |
void collectSelectFeatureSetFrom(ShadowRoot&); |
void distributeNodeChildrenTo(InsertionPoint*, ContainerNode*); |
bool needsSelectFeatureSet() const { return m_needsSelectFeatureSet; } |
void setNeedsSelectFeatureSet() { m_needsSelectFeatureSet = true; } |
+ bool isV1() const { return youngestShadowRoot().type() == ShadowRootType::Open || youngestShadowRoot().type() == ShadowRootType::Closed; }; |
+ |
#if ENABLE(OILPAN) |
// The cost of |new| in Oilpan is lower than non-Oilpan. We should reduce |
// the size of HashMap entry. |