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

Unified Diff: third_party/WebKit/Source/core/css/CSSGlobalRuleSet.h

Issue 2589243002: Clear CSSGlobalRuleSet on StyleEngine::didDetach(). (Closed)
Patch Set: Created 4 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: third_party/WebKit/Source/core/css/CSSGlobalRuleSet.h
diff --git a/third_party/WebKit/Source/core/css/CSSGlobalRuleSet.h b/third_party/WebKit/Source/core/css/CSSGlobalRuleSet.h
index 0bc1f8da5cf7035e99675f81853e86a268cebce4..08b39c961e10f55f8a887bbce9c9c404b05573e9 100644
--- a/third_party/WebKit/Source/core/css/CSSGlobalRuleSet.h
+++ b/third_party/WebKit/Source/core/css/CSSGlobalRuleSet.h
@@ -28,6 +28,7 @@ class CSSGlobalRuleSet {
public:
CSSGlobalRuleSet() {}
+ void reset();
void initWatchedSelectorsRuleSet(Document&);
void markDirty() { m_isDirty = true; }
bool isDirty() const { return m_isDirty; }

Powered by Google App Engine
This is Rietveld 408576698