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

Unified Diff: third_party/WebKit/Source/core/dom/CSSSelectorWatch.h

Issue 2150443002: Supplement should have a Member to the corresponding Supplementable object (Part 1) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 years, 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/CSSSelectorWatch.h
diff --git a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.h b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.h
index cde1aec2dc25b7ea36f36acde7e0c30e6a31214e..a6699e6420be919cda6516ca81e4144e1a8dc6b1 100644
--- a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.h
+++ b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.h
@@ -60,9 +60,7 @@ public:
private:
explicit CSSSelectorWatch(Document&);
void callbackSelectorChangeTimerFired(TimerBase*);
- Document& document() const { return *m_document; }
-
- Member<Document> m_document;
+ Document& document() const { return *host(); }
HeapVector<Member<StyleRule>> m_watchedCallbackSelectors;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698