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

Side by Side Diff: Source/core/css/Rect.h

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/RGBColor.cpp ('k') | Source/core/css/Rect.cpp » ('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 * Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 10 matching lines...) Expand all
21 #ifndef Rect_h 21 #ifndef Rect_h
22 #define Rect_h 22 #define Rect_h
23 23
24 #include "core/css/CSSPrimitiveValue.h" 24 #include "core/css/CSSPrimitiveValue.h"
25 #include "wtf/RefPtr.h" 25 #include "wtf/RefPtr.h"
26 #include "wtf/text/StringBuilder.h" 26 #include "wtf/text/StringBuilder.h"
27 27
28 namespace WebCore { 28 namespace WebCore {
29 29
30 class RectBase : public RefCountedWillBeGarbageCollected<RectBase> { 30 class RectBase : public RefCountedWillBeGarbageCollected<RectBase> {
31 DECLARE_GC_INFO;
32 public: 31 public:
33 CSSPrimitiveValue* top() const { return m_top.get(); } 32 CSSPrimitiveValue* top() const { return m_top.get(); }
34 CSSPrimitiveValue* right() const { return m_right.get(); } 33 CSSPrimitiveValue* right() const { return m_right.get(); }
35 CSSPrimitiveValue* bottom() const { return m_bottom.get(); } 34 CSSPrimitiveValue* bottom() const { return m_bottom.get(); }
36 CSSPrimitiveValue* left() const { return m_left.get(); } 35 CSSPrimitiveValue* left() const { return m_left.get(); }
37 36
38 void setTop(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> top) { m_top = top; } 37 void setTop(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> top) { m_top = top; }
39 void setRight(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> right) { m_right = r ight; } 38 void setRight(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> right) { m_right = r ight; }
40 void setBottom(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> bottom) { m_bottom = bottom; } 39 void setBottom(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> bottom) { m_bottom = bottom; }
41 void setLeft(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> left) { m_left = left ; } 40 void setLeft(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> left) { m_left = left ; }
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 } 128 }
130 129
131 // NOTE: If adding fields to this class please make the RectBase trace 130 // NOTE: If adding fields to this class please make the RectBase trace
132 // method virtual and add a trace method in this subclass tracing the new 131 // method virtual and add a trace method in this subclass tracing the new
133 // fields. 132 // fields.
134 }; 133 };
135 134
136 } // namespace WebCore 135 } // namespace WebCore
137 136
138 #endif // Rect_h 137 #endif // Rect_h
OLDNEW
« no previous file with comments | « Source/core/css/RGBColor.cpp ('k') | Source/core/css/Rect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698