#include "wtf/WeakPtr.h"
#include "wtf/text/WTFString.h"
-namespace WebCore {
+namespace blink {
class CSSSelectorWatch FINAL : public NoBaseWillBeGarbageCollectedFinalized<CSSSelectorWatch>, public DocumentSupplement {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(CSSSelectorWatch);
private:
explicit CSSSelectorWatch(Document&);
void callbackSelectorChangeTimerFired(Timer<CSSSelectorWatch>*);
+ Document& document() const { return *m_document; }
- Document& m_document;
+ RawPtrWillBeMember<Document> m_document;
WillBeHeapVector<RefPtrWillBeMember<StyleRule> > m_watchedCallbackSelectors;
int m_timerExpirations;
};
-} // namespace WebCore
+} // namespace blink
#endif // CSSSelectorWatch_h