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

Side by Side Diff: Source/core/svg/properties/SVGPropertyTearOff.h

Issue 631153003: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/svg (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/svg/properties/SVGAnimatedProperty.h ('k') | no next file » | 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) 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 Property* target() 118 Property* target()
119 { 119 {
120 return m_target.get(); 120 return m_target.get();
121 } 121 }
122 122
123 void setTarget(PassRefPtr<Property> target) 123 void setTarget(PassRefPtr<Property> target)
124 { 124 {
125 m_target = target; 125 m_target = target;
126 } 126 }
127 127
128 virtual AnimatedPropertyType type() const OVERRIDE 128 virtual AnimatedPropertyType type() const override
129 { 129 {
130 return Property::classType(); 130 return Property::classType();
131 } 131 }
132 132
133 protected: 133 protected:
134 SVGPropertyTearOff(PassRefPtr<Property> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = Qu alifiedName::null()) 134 SVGPropertyTearOff(PassRefPtr<Property> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = Qu alifiedName::null())
135 : SVGPropertyTearOffBase(contextElement, propertyIsAnimVal, attributeNam e) 135 : SVGPropertyTearOffBase(contextElement, propertyIsAnimVal, attributeNam e)
136 , m_target(target) 136 , m_target(target)
137 { 137 {
138 ASSERT(m_target); 138 ASSERT(m_target);
139 } 139 }
140 140
141 private: 141 private:
142 RefPtr<Property> m_target; 142 RefPtr<Property> m_target;
143 }; 143 };
144 144
145 } 145 }
146 146
147 #endif // SVGPropertyTearOff_h 147 #endif // SVGPropertyTearOff_h
OLDNEW
« no previous file with comments | « Source/core/svg/properties/SVGAnimatedProperty.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698