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

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

Issue 1846913009: HeapSupplements are now just Supplements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 600b2d3b99ef2256ef40d68c0285b8de6984db91..22a82007e0129bee2553ba31b08cd18b2d3fe6a8 100644
--- a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
+++ b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
@@ -56,14 +56,14 @@ CSSSelectorWatch& CSSSelectorWatch::from(Document& document)
CSSSelectorWatch* watch = fromIfExists(document);
if (!watch) {
watch = new CSSSelectorWatch(document);
- HeapSupplement<Document>::provideTo(document, kSupplementName, watch);
+ Supplement<Document>::provideTo(document, kSupplementName, watch);
}
return *watch;
}
CSSSelectorWatch* CSSSelectorWatch::fromIfExists(Document& document)
{
- return static_cast<CSSSelectorWatch*>(HeapSupplement<Document>::from(document, kSupplementName));
+ return static_cast<CSSSelectorWatch*>(Supplement<Document>::from(document, kSupplementName));
}
void CSSSelectorWatch::callbackSelectorChangeTimerFired(Timer<CSSSelectorWatch>*)
@@ -166,7 +166,7 @@ DEFINE_TRACE(CSSSelectorWatch)
{
visitor->trace(m_watchedCallbackSelectors);
visitor->trace(m_document);
- HeapSupplement<Document>::trace(visitor);
+ Supplement<Document>::trace(visitor);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/CSSSelectorWatch.h ('k') | third_party/WebKit/Source/core/dom/DocumentParserTiming.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698