Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1937)

Unified Diff: ui/views/controls/textfield/textfield.cc

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/controls/textfield/textfield.cc
diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
index 15f802807b76b08d61ff57654e7fcd5311d7d424..23a17c60244466cf416d230b001d3ca7fcc72644 100644
--- a/ui/views/controls/textfield/textfield.cc
+++ b/ui/views/controls/textfield/textfield.cc
@@ -381,12 +381,12 @@ bool Textfield::SkipDefaultKeyEventProcessing(const KeyEvent& e) {
return false;
}
-void Textfield::OnPaintBackground(gfx::Canvas* canvas) {
+void Textfield::OnPaintBackground(gfx::CanvasSkia* canvas) {
// Overridden to be public - gtk_views_entry.cc wants to call it.
View::OnPaintBackground(canvas);
}
-void Textfield::OnPaintFocusBorder(gfx::Canvas* canvas) {
+void Textfield::OnPaintFocusBorder(gfx::CanvasSkia* canvas) {
if (NativeViewHost::kRenderNativeControlFocus)
View::OnPaintFocusBorder(canvas);
}

Powered by Google App Engine
This is Rietveld 408576698