From 89639aaaaf45f50d111dee07f10f5ba530e55320 Mon Sep 17 00:00:00 2001 From: "vollick@google.com" Date: Wed, 12 Sep 2012 13:54:00 +0000 Subject: Add missing initializers to TestLayerAnimationDelegate There were missing initializers for brightness_ and grayscale_ making valgrind unhappy. BUG=148475 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10913208 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156289 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/compositor/test/test_layer_animation_delegate.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/compositor/test/test_layer_animation_delegate.cc b/ui/compositor/test/test_layer_animation_delegate.cc index 7427571..bb5cdc5 100644 --- a/ui/compositor/test/test_layer_animation_delegate.cc +++ b/ui/compositor/test/test_layer_animation_delegate.cc @@ -8,7 +8,9 @@ namespace ui { TestLayerAnimationDelegate::TestLayerAnimationDelegate() : opacity_(1.0f), - visibility_(true) { + visibility_(true), + brightness_(0.0f), + grayscale_(0.0f) { } TestLayerAnimationDelegate::TestLayerAnimationDelegate( -- cgit v1.1