Index: views/controls/button/text_button.cc |
=================================================================== |
--- views/controls/button/text_button.cc (revision 82144) |
+++ views/controls/button/text_button.cc (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 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. |
@@ -289,8 +289,8 @@ |
// back into the current canvas. |
canvas->SaveLayerAlpha( |
static_cast<int>(hover_animation_->GetCurrentValue() * 255)); |
- canvas->AsCanvasSkia()->drawARGB(0, 255, 255, 255, |
- SkXfermode::kClear_Mode); |
+ canvas->AsCanvasSkia()->skia_canvas()->drawARGB( |
+ 0, 255, 255, 255, SkXfermode::kClear_Mode); |
OnPaintBorder(canvas); |
canvas->Restore(); |
} else if ((show_multiple_icon_states_ && |