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

Unified Diff: Source/core/css/MediaQueryMatcher.cpp

Issue 331283004: Oilpan: Trace MediaQueryMacher::m_document. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« Source/core/css/MediaQueryMatcher.h ('K') | « Source/core/css/MediaQueryMatcher.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/MediaQueryMatcher.cpp
diff --git a/Source/core/css/MediaQueryMatcher.cpp b/Source/core/css/MediaQueryMatcher.cpp
index 81a5bae4fa3fb9bd3211c70295551919acbdba17..1821634634a933a8d05996901e702342f4529896 100644
--- a/Source/core/css/MediaQueryMatcher.cpp
+++ b/Source/core/css/MediaQueryMatcher.cpp
@@ -61,7 +61,7 @@ DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(MediaQueryMatcher)
void MediaQueryMatcher::documentDestroyed()
{
m_listeners.clear();
- m_document = 0;
+ m_document = nullptr;
}
AtomicString MediaQueryMatcher::mediaType() const
@@ -142,6 +142,7 @@ void MediaQueryMatcher::styleResolverChanged()
void MediaQueryMatcher::trace(Visitor* visitor)
{
+ visitor->trace(m_document);
// We don't support tracing of vectors of OwnPtrs (ie. Vector<OwnPtr<Listener> >).
// Since this is a transitional object we are just ifdef'ing it out when oilpan is not enabled.
#if ENABLE(OILPAN)
« Source/core/css/MediaQueryMatcher.h ('K') | « Source/core/css/MediaQueryMatcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698