diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-26 09:16:55 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-26 09:16:55 +0000 |
commit | b50e06d4d530542c484d89beb1337d459ac1d8b8 (patch) | |
tree | ed407cdb6d30e89197b498b0b2e5340e1eca185e /cc/test | |
parent | 0a633ba969e27e565b30e0ad5d8abad9680267d9 (diff) | |
download | chromium_src-b50e06d4d530542c484d89beb1337d459ac1d8b8.zip chromium_src-b50e06d4d530542c484d89beb1337d459ac1d8b8.tar.gz chromium_src-b50e06d4d530542c484d89beb1337d459ac1d8b8.tar.bz2 |
cc: Few style fixes.
Style-only change. Some small things that were missed.
R=enne
Review URL: https://chromiumcodereview.appspot.com/12907013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190616 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test')
-rw-r--r-- | cc/test/animation_test_common.cc | 32 | ||||
-rw-r--r-- | cc/test/fake_layer_tree_host_impl.cc | 6 |
2 files changed, 11 insertions, 27 deletions
diff --git a/cc/test/animation_test_common.cc b/cc/test/animation_test_common.cc index 4f9548d..21e4583 100644 --- a/cc/test/animation_test_common.cc +++ b/cc/test/animation_test_common.cc @@ -90,17 +90,12 @@ int AddAnimatedTransform(Target* target, } FakeFloatAnimationCurve::FakeFloatAnimationCurve() - : duration_(1.0) -{ -} + : duration_(1.0) {} FakeFloatAnimationCurve::FakeFloatAnimationCurve(double duration) - : duration_(duration) -{ -} + : duration_(duration) {} -FakeFloatAnimationCurve::~FakeFloatAnimationCurve() { -} +FakeFloatAnimationCurve::~FakeFloatAnimationCurve() {} double FakeFloatAnimationCurve::Duration() const { return duration_; @@ -116,12 +111,9 @@ scoped_ptr<cc::AnimationCurve> FakeFloatAnimationCurve::Clone() const { } FakeTransformTransition::FakeTransformTransition(double duration) - : duration_(duration) -{ -} + : duration_(duration) {} -FakeTransformTransition::~FakeTransformTransition() { -} +FakeTransformTransition::~FakeTransformTransition() {} double FakeTransformTransition::Duration() const { return duration_; @@ -140,12 +132,9 @@ scoped_ptr<cc::AnimationCurve> FakeTransformTransition::Clone() const { FakeFloatTransition::FakeFloatTransition(double duration, float from, float to) : duration_(duration) , from_(from) - , to_(to) -{ -} + , to_(to) {} -FakeFloatTransition::~FakeFloatTransition() { -} +FakeFloatTransition::~FakeFloatTransition() {} double FakeFloatTransition::Duration() const { return duration_; @@ -159,12 +148,9 @@ float FakeFloatTransition::GetValue(double time) const { } FakeLayerAnimationValueObserver::FakeLayerAnimationValueObserver() - : opacity_(0.0f) -{ -} + : opacity_(0.0f) {} -FakeLayerAnimationValueObserver::~FakeLayerAnimationValueObserver() { -} +FakeLayerAnimationValueObserver::~FakeLayerAnimationValueObserver() {} void FakeLayerAnimationValueObserver::OnOpacityAnimated(float opacity) { opacity_ = opacity; diff --git a/cc/test/fake_layer_tree_host_impl.cc b/cc/test/fake_layer_tree_host_impl.cc index f393f1d..5755e98 100644 --- a/cc/test/fake_layer_tree_host_impl.cc +++ b/cc/test/fake_layer_tree_host_impl.cc @@ -10,8 +10,7 @@ FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(Proxy* proxy) : LayerTreeHostImpl(LayerTreeSettings(), &client_, proxy, - &stats_instrumentation_) -{ + &stats_instrumentation_) { // Explicitly clear all debug settings. SetDebugState(LayerTreeDebugState()); } @@ -22,8 +21,7 @@ FakeLayerTreeHostImpl::FakeLayerTreeHostImpl( : LayerTreeHostImpl(settings, &client_, proxy, - &stats_instrumentation_) -{ + &stats_instrumentation_) { // Explicitly clear all debug settings. SetDebugState(LayerTreeDebugState()); } |