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

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

Issue 187313005: Move StyleSheet to the oilpan heap using transition types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove clearParentXYZ methods when compiling with oilpan Created 6 years, 10 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
« no previous file with comments | « Source/core/css/MediaList.h ('k') | Source/core/css/StyleSheet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/MediaList.cpp
diff --git a/Source/core/css/MediaList.cpp b/Source/core/css/MediaList.cpp
index d0698cef119c8a313756f548010ba4af84ba036b..28232dacb63bcad20d37a75ca26e87e667180f51 100644
--- a/Source/core/css/MediaList.cpp
+++ b/Source/core/css/MediaList.cpp
@@ -176,7 +176,7 @@ MediaList::MediaList(MediaQuerySet* mediaQueries, CSSStyleSheet* parentSheet)
MediaList::MediaList(MediaQuerySet* mediaQueries, CSSRule* parentRule)
: m_mediaQueries(mediaQueries)
- , m_parentStyleSheet(0)
+ , m_parentStyleSheet(nullptr)
, m_parentRule(parentRule)
{
}
@@ -239,6 +239,7 @@ void MediaList::reattach(MediaQuerySet* mediaQueries)
void MediaList::trace(Visitor* visitor)
{
visitor->trace(m_mediaQueries);
+ visitor->trace(m_parentStyleSheet);
visitor->trace(m_parentRule);
}
« no previous file with comments | « Source/core/css/MediaList.h ('k') | Source/core/css/StyleSheet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698