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

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

Issue 199273005: Oilpan: Change the name of the finalization method that can be (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org)
4 * Copyright (C) 2002, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. 4 * Copyright (C) 2002, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 return; 84 return;
85 case Unknown: 85 case Unknown:
86 case Charset: 86 case Charset:
87 case Keyframe: 87 case Keyframe:
88 ASSERT_NOT_REACHED(); 88 ASSERT_NOT_REACHED();
89 return; 89 return;
90 } 90 }
91 ASSERT_NOT_REACHED(); 91 ASSERT_NOT_REACHED();
92 } 92 }
93 93
94 void StyleRuleBase::finalize() 94 void StyleRuleBase::finalizeGarbageCollectedObject()
95 { 95 {
96 switch (type()) { 96 switch (type()) {
97 case Style: 97 case Style:
98 toStyleRule(this)->~StyleRule(); 98 toStyleRule(this)->~StyleRule();
99 return; 99 return;
100 case Page: 100 case Page:
101 toStyleRulePage(this)->~StyleRulePage(); 101 toStyleRulePage(this)->~StyleRulePage();
102 return; 102 return;
103 case FontFace: 103 case FontFace:
104 toStyleRuleFontFace(this)->~StyleRuleFontFace(); 104 toStyleRuleFontFace(this)->~StyleRuleFontFace();
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 m_properties = m_properties->mutableCopy(); 446 m_properties = m_properties->mutableCopy();
447 return *toMutableStylePropertySet(m_properties); 447 return *toMutableStylePropertySet(m_properties);
448 } 448 }
449 449
450 void StyleRuleFilter::setProperties(PassRefPtr<StylePropertySet> properties) 450 void StyleRuleFilter::setProperties(PassRefPtr<StylePropertySet> properties)
451 { 451 {
452 m_properties = properties; 452 m_properties = properties;
453 } 453 }
454 454
455 } // namespace WebCore 455 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/StyleRule.h ('k') | Source/heap/Heap.h » ('j') | Source/wtf/Vector.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698