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

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

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.h
diff --git a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.h b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.h
index 57d21cc5ab07e9bdb80215c0ebae82597d0aa938..a5553b47c5bb6024b3e2830bc8eaf01531076b94 100644
--- a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.h
+++ b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.h
@@ -43,9 +43,8 @@
namespace blink {
-class CORE_EXPORT CSSSelectorWatch final : public NoBaseWillBeGarbageCollectedFinalized<CSSSelectorWatch>, public WillBeHeapSupplement<Document> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(CSSSelectorWatch);
- USING_FAST_MALLOC_WILL_BE_REMOVED(CSSSelectorWatch);
+class CORE_EXPORT CSSSelectorWatch final : public GarbageCollectedFinalized<CSSSelectorWatch>, public HeapSupplement<Document> {
+ USING_GARBAGE_COLLECTED_MIXIN(CSSSelectorWatch);
public:
virtual ~CSSSelectorWatch() { }
@@ -53,7 +52,7 @@ public:
static CSSSelectorWatch* fromIfExists(Document&);
void watchCSSSelectors(const Vector<String>& selectors);
- const WillBeHeapVector<RefPtrWillBeMember<StyleRule>>& watchedCallbackSelectors() const { return m_watchedCallbackSelectors; }
+ const HeapVector<Member<StyleRule>>& watchedCallbackSelectors() const { return m_watchedCallbackSelectors; }
void updateSelectorMatches(const Vector<String>& removedSelectors, const Vector<String>& addedSelectors);
@@ -64,9 +63,9 @@ private:
void callbackSelectorChangeTimerFired(Timer<CSSSelectorWatch>*);
Document& document() const { return *m_document; }
- RawPtrWillBeMember<Document> m_document;
+ Member<Document> m_document;
- WillBeHeapVector<RefPtrWillBeMember<StyleRule>> m_watchedCallbackSelectors;
+ HeapVector<Member<StyleRule>> m_watchedCallbackSelectors;
// Maps a CSS selector string with a -webkit-callback property to the number
// of matching ComputedStyle objects in this document.
« no previous file with comments | « third_party/WebKit/Source/core/dom/CDATASection.cpp ('k') | third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698