| 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
|
|
|