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

Unified Diff: sky/engine/core/dom/TreeScope.h

Issue 796713002: Turn StyleSharing to 11. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
Index: sky/engine/core/dom/TreeScope.h
diff --git a/sky/engine/core/dom/TreeScope.h b/sky/engine/core/dom/TreeScope.h
index 3715293d339d01edfca0d7a17874bf6d7593d5d7..cd8691bae1b2f92720bb1de23c6bbb74e23ba2a2 100644
--- a/sky/engine/core/dom/TreeScope.h
+++ b/sky/engine/core/dom/TreeScope.h
@@ -38,8 +38,8 @@ class DOMSelection;
class Document;
class Element;
class HitTestResult;
-class ScopedStyleResolver;
class Node;
+class ScopedStyleResolver;
// A class which inherits both Node and TreeScope must call clearRareData() in its destructor
// so that the Node destructor no longer does problematic NodeList cache manipulation in
@@ -77,6 +77,7 @@ public:
ContainerNode& rootNode() const { return *m_rootNode; }
+ bool hasSameStyles(TreeScope&);
#if !ENABLE(OILPAN)
// Nodes belonging to this scope hold guard references -

Powered by Google App Engine
This is Rietveld 408576698