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

Unified Diff: Source/core/css/CSSRule.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/CSSRule.h ('k') | Source/core/css/CSSStyleSheet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSRule.cpp
diff --git a/Source/core/css/CSSRule.cpp b/Source/core/css/CSSRule.cpp
index b090ae7c1f41e79600a61995d58a040518a8504a..5dc114b898f1cd2fa176560ed1128550fbce3c48 100644
--- a/Source/core/css/CSSRule.cpp
+++ b/Source/core/css/CSSRule.cpp
@@ -57,6 +57,8 @@ void CSSRule::trace(Visitor* visitor)
// some circumstances.
if (m_parentIsRule)
visitor->trace(m_parentRule);
+ else
+ visitor->trace(m_parentStyleSheet);
}
} // namespace WebCore
« no previous file with comments | « Source/core/css/CSSRule.h ('k') | Source/core/css/CSSStyleSheet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698