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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SVGPropertyHelper_h 5 #ifndef SVGPropertyHelper_h
6 #define SVGPropertyHelper_h 6 #define SVGPropertyHelper_h
7 7
8 #include "core/svg/properties/SVGProperty.h" 8 #include "core/svg/properties/SVGProperty.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 template<typename Derived> 12 template<typename Derived>
13 class SVGPropertyHelper : public SVGPropertyBase { 13 class SVGPropertyHelper : public SVGPropertyBase {
14 public: 14 public:
15 SVGPropertyHelper() 15 SVGPropertyHelper()
16 : SVGPropertyBase(Derived::classType()) 16 : SVGPropertyBase(Derived::classType())
17 { 17 {
18 } 18 }
19 19
20 virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const Stri ng& value) const 20 virtual RawPtr<SVGPropertyBase> cloneForAnimation(const String& value) const
21 { 21 {
22 RefPtrWillBeRawPtr<Derived> property = Derived::create(); 22 RawPtr<Derived> property = Derived::create();
23 property->setValueAsString(value); 23 property->setValueAsString(value);
24 return property.release(); 24 return property.release();
25 } 25 }
26 }; 26 };
27 27
28 } // namespace blink 28 } // namespace blink
29 29
30 #endif // SVGPropertyHelper_h 30 #endif // SVGPropertyHelper_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698