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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (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 d1d1ede4790347637083961f1f7386c732fe40a4..955bca9469595f6c35c38e06678e4fa0ee7d08bc 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);
- WillBeHeapSupplement<Document>::provideTo(document, kSupplementName, adoptPtrWillBeNoop(watch));
+ HeapSupplement<Document>::provideTo(document, kSupplementName, adoptPtrWillBeNoop(watch));
}
return *watch;
}
CSSSelectorWatch* CSSSelectorWatch::fromIfExists(Document& document)
{
- return static_cast<CSSSelectorWatch*>(WillBeHeapSupplement<Document>::from(document, kSupplementName));
+ return static_cast<CSSSelectorWatch*>(HeapSupplement<Document>::from(document, kSupplementName));
}
void CSSSelectorWatch::callbackSelectorChangeTimerFired(Timer<CSSSelectorWatch>*)
@@ -146,7 +146,7 @@ void CSSSelectorWatch::watchCSSSelectors(const Vector<String>& selectors)
{
m_watchedCallbackSelectors.clear();
- const RefPtrWillBeRawPtr<StylePropertySet> callbackPropertySet = ImmutableStylePropertySet::create(nullptr, 0, UASheetMode);
+ const RawPtr<StylePropertySet> callbackPropertySet = ImmutableStylePropertySet::create(nullptr, 0, UASheetMode);
for (unsigned i = 0; i < selectors.size(); ++i) {
CSSSelectorList selectorList = CSSParser::parseSelector(CSSParserContext(UASheetMode, 0), nullptr, selectors[i]);
@@ -166,7 +166,7 @@ DEFINE_TRACE(CSSSelectorWatch)
{
visitor->trace(m_watchedCallbackSelectors);
visitor->trace(m_document);
- WillBeHeapSupplement<Document>::trace(visitor);
+ HeapSupplement<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/CharacterData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698