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

Side by Side Diff: Source/core/css/CSSGroupingRule.cpp

Issue 177423010: Oilpan: Remove Persistent handles from heap allocated CSSRule objects and fix finalization of CSSKe… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Keep the size assertion turned on. Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
3 * Copyright (C) 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above 9 * 1. Redistributions of source code must retain the above
10 * copyright notice, this list of conditions and the following 10 * copyright notice, this list of conditions and the following
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 m_childRuleCSSOMWrappers[i]->reattach(m_groupRule->childRules()[i].g et()); 152 m_childRuleCSSOMWrappers[i]->reattach(m_groupRule->childRules()[i].g et());
153 } 153 }
154 } 154 }
155 155
156 void CSSGroupingRule::trace(Visitor* visitor) 156 void CSSGroupingRule::trace(Visitor* visitor)
157 { 157 {
158 CSSRule::trace(visitor); 158 CSSRule::trace(visitor);
159 #if ENABLE(OILPAN) 159 #if ENABLE(OILPAN)
160 visitor->trace(m_childRuleCSSOMWrappers); 160 visitor->trace(m_childRuleCSSOMWrappers);
161 #endif 161 #endif
162 visitor->trace(m_groupRule);
162 } 163 }
163 164
164 } // namespace WebCore 165 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698