Index: ui/keyboard/keyboard_controller.cc |
diff --git a/ui/keyboard/keyboard_controller.cc b/ui/keyboard/keyboard_controller.cc |
index 7563cce848ac727d1c81719b4d04f1226ad959ca..3365610f3032350a4c4857bebaeb9079b6fa2956 100644 |
--- a/ui/keyboard/keyboard_controller.cc |
+++ b/ui/keyboard/keyboard_controller.cc |
@@ -109,7 +109,7 @@ class KeyboardWindowDelegate : public aura::WindowDelegate { |
} |
bool CanFocus() override { return false; } |
void OnCaptureLost() override {} |
- void OnPaint(gfx::Canvas* canvas) override {} |
+ void OnPaint(const ui::PaintContext& context) override {} |
void OnDeviceScaleFactorChanged(float device_scale_factor) override {} |
void OnWindowDestroying(aura::Window* window) override {} |
void OnWindowDestroyed(aura::Window* window) override { delete this; } |