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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGAnimatedNumberOptionalNumber.cpp

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 /* 1 /*
2 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 2 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 22 matching lines...) Expand all
33 m_secondNumber->setParentOptionalNumber(this); 33 m_secondNumber->setParentOptionalNumber(this);
34 } 34 }
35 35
36 DEFINE_TRACE(SVGAnimatedNumberOptionalNumber) 36 DEFINE_TRACE(SVGAnimatedNumberOptionalNumber)
37 { 37 {
38 visitor->trace(m_firstNumber); 38 visitor->trace(m_firstNumber);
39 visitor->trace(m_secondNumber); 39 visitor->trace(m_secondNumber);
40 SVGAnimatedPropertyCommon<SVGNumberOptionalNumber>::trace(visitor); 40 SVGAnimatedPropertyCommon<SVGNumberOptionalNumber>::trace(visitor);
41 } 41 }
42 42
43 void SVGAnimatedNumberOptionalNumber::setAnimatedValue(PassRefPtrWillBeRawPtr<SV GPropertyBase> value) 43 void SVGAnimatedNumberOptionalNumber::setAnimatedValue(RawPtr<SVGPropertyBase> v alue)
44 { 44 {
45 SVGAnimatedPropertyCommon<SVGNumberOptionalNumber>::setAnimatedValue(value); 45 SVGAnimatedPropertyCommon<SVGNumberOptionalNumber>::setAnimatedValue(value);
46 m_firstNumber->setAnimatedValue(currentValue()->firstNumber()); 46 m_firstNumber->setAnimatedValue(currentValue()->firstNumber());
47 m_secondNumber->setAnimatedValue(currentValue()->secondNumber()); 47 m_secondNumber->setAnimatedValue(currentValue()->secondNumber());
48 } 48 }
49 49
50 void SVGAnimatedNumberOptionalNumber::animationEnded() 50 void SVGAnimatedNumberOptionalNumber::animationEnded()
51 { 51 {
52 SVGAnimatedPropertyCommon<SVGNumberOptionalNumber>::animationEnded(); 52 SVGAnimatedPropertyCommon<SVGNumberOptionalNumber>::animationEnded();
53 m_firstNumber->animationEnded(); 53 m_firstNumber->animationEnded();
54 m_secondNumber->animationEnded(); 54 m_secondNumber->animationEnded();
55 } 55 }
56 56
57 bool SVGAnimatedNumberOptionalNumber::needsSynchronizeAttribute() 57 bool SVGAnimatedNumberOptionalNumber::needsSynchronizeAttribute()
58 { 58 {
59 return m_firstNumber->needsSynchronizeAttribute() 59 return m_firstNumber->needsSynchronizeAttribute()
60 || m_secondNumber->needsSynchronizeAttribute(); 60 || m_secondNumber->needsSynchronizeAttribute();
61 } 61 }
62 62
63 } // namespace blink 63 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698