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

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

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/css/StyleRule.h ('k') | Source/core/css/StyleSheetContents.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 18 matching lines...) Expand all
29 #include "core/css/CSSMediaRule.h" 29 #include "core/css/CSSMediaRule.h"
30 #include "core/css/CSSPageRule.h" 30 #include "core/css/CSSPageRule.h"
31 #include "core/css/CSSStyleRule.h" 31 #include "core/css/CSSStyleRule.h"
32 #include "core/css/CSSSupportsRule.h" 32 #include "core/css/CSSSupportsRule.h"
33 #include "core/css/CSSViewportRule.h" 33 #include "core/css/CSSViewportRule.h"
34 #include "core/css/StylePropertySet.h" 34 #include "core/css/StylePropertySet.h"
35 #include "core/css/StyleRuleImport.h" 35 #include "core/css/StyleRuleImport.h"
36 36
37 namespace WebCore { 37 namespace WebCore {
38 38
39 DEFINE_GC_INFO(StyleRuleBase);
40
41 struct SameSizeAsStyleRuleBase : public RefCountedWillBeRefCountedGarbageCollect ed<SameSizeAsStyleRuleBase> { 39 struct SameSizeAsStyleRuleBase : public RefCountedWillBeRefCountedGarbageCollect ed<SameSizeAsStyleRuleBase> {
42 unsigned bitfields; 40 unsigned bitfields;
43 }; 41 };
44 42
45 COMPILE_ASSERT(sizeof(StyleRuleBase) <= sizeof(SameSizeAsStyleRuleBase), StyleRu leBase_should_stay_small); 43 COMPILE_ASSERT(sizeof(StyleRuleBase) <= sizeof(SameSizeAsStyleRuleBase), StyleRu leBase_should_stay_small);
46 44
47 PassRefPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSStyleSheet* parentSheet ) const 45 PassRefPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSStyleSheet* parentSheet ) const
48 { 46 {
49 return createCSSOMWrapper(parentSheet, 0); 47 return createCSSOMWrapper(parentSheet, 0);
50 } 48 }
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 m_properties = m_properties->mutableCopy(); 440 m_properties = m_properties->mutableCopy();
443 return toMutableStylePropertySet(m_properties); 441 return toMutableStylePropertySet(m_properties);
444 } 442 }
445 443
446 void StyleRuleFilter::setProperties(PassRefPtr<StylePropertySet> properties) 444 void StyleRuleFilter::setProperties(PassRefPtr<StylePropertySet> properties)
447 { 445 {
448 m_properties = properties; 446 m_properties = properties;
449 } 447 }
450 448
451 } // namespace WebCore 449 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/StyleRule.h ('k') | Source/core/css/StyleSheetContents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698