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

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

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
Index: third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
diff --git a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
index 079279db2d3d93dce3388c0f75fd4e1ee190db4b..67bf699d17087ec279b309204b66a95c617d6a1c 100644
--- a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
+++ b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
@@ -45,7 +45,7 @@ namespace blink {
static const char kSupplementName[] = "CSSSelectorWatch";
CSSSelectorWatch::CSSSelectorWatch(Document& document)
- : m_document(document)
+ : Supplement<Document>(document)
, m_callbackSelectorChangeTimer(this, &CSSSelectorWatch::callbackSelectorChangeTimerFired)
, m_timerExpirations(0)
{
@@ -165,7 +165,6 @@ void CSSSelectorWatch::watchCSSSelectors(const Vector<String>& selectors)
DEFINE_TRACE(CSSSelectorWatch)
{
visitor->trace(m_watchedCallbackSelectors);
- visitor->trace(m_document);
Supplement<Document>::trace(visitor);
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/CSSSelectorWatch.h ('k') | third_party/WebKit/Source/core/dom/CompositorProxyClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698