Index: views/controls/button/text_button.cc |
diff --git a/views/controls/button/text_button.cc b/views/controls/button/text_button.cc |
index 6435be11c93f9b9e9a79da6cb9093eb2f18a478f..40d4d68bb97f6e122ea7ab9508012f281d2268f4 100644 |
--- a/views/controls/button/text_button.cc |
+++ b/views/controls/button/text_button.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -241,7 +241,7 @@ void TextButton::Paint(gfx::Canvas* canvas, bool for_drag) { |
if (!for_drag) { |
PaintBackground(canvas); |
- if (show_highlighted_ && hover_animation_->IsAnimating()) { |
+ if (show_highlighted_ && hover_animation_->is_animating()) { |
// Draw the hover bitmap into an offscreen buffer, then blend it |
// back into the current canvas. |
canvas->saveLayerAlpha(NULL, |