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

Side by Side Diff: third_party/WebKit/Source/core/svg/properties/SVGProperty.h

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef SVGProperty_h 31 #ifndef SVGProperty_h
32 #define SVGProperty_h 32 #define SVGProperty_h
33 33
34 #include "core/svg/properties/SVGPropertyInfo.h" 34 #include "core/svg/properties/SVGPropertyInfo.h"
35 #include "platform/heap/Handle.h" 35 #include "platform/heap/Handle.h"
36 #include "wtf/Noncopyable.h" 36 #include "wtf/Noncopyable.h"
37 #include "wtf/PassRefPtr.h"
38 #include "wtf/RefCounted.h"
39 #include "wtf/text/WTFString.h" 37 #include "wtf/text/WTFString.h"
40 38
41 namespace blink { 39 namespace blink {
42 40
43 class SVGElement; 41 class SVGElement;
44 class SVGAnimationElement; 42 class SVGAnimationElement;
45 43
46 class SVGPropertyBase : public GarbageCollectedFinalized<SVGPropertyBase> { 44 class SVGPropertyBase : public GarbageCollectedFinalized<SVGPropertyBase> {
47 WTF_MAKE_NONCOPYABLE(SVGPropertyBase); 45 WTF_MAKE_NONCOPYABLE(SVGPropertyBase);
48 46
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // See http://crbug.com/528275 for the detail. 99 // See http://crbug.com/528275 for the detail.
102 UntracedMember<SVGPropertyBase> m_ownerList; 100 UntracedMember<SVGPropertyBase> m_ownerList;
103 }; 101 };
104 102
105 #define DEFINE_SVG_PROPERTY_TYPE_CASTS(thisType)\ 103 #define DEFINE_SVG_PROPERTY_TYPE_CASTS(thisType)\
106 DEFINE_TYPE_CASTS(thisType, SVGPropertyBase, value, value->type() == thisTyp e::classType(), value.type() == thisType::classType()); 104 DEFINE_TYPE_CASTS(thisType, SVGPropertyBase, value, value->type() == thisTyp e::classType(), value.type() == thisType::classType());
107 105
108 } // namespace blink 106 } // namespace blink
109 107
110 #endif // SVGProperty_h 108 #endif // SVGProperty_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698