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

Unified Diff: chrome/browser/ui/gtk/location_bar_view_gtk.cc

Issue 6879013: skia::PlatformCanvas is being deprecated. Going forward we will use gfx::Canvas wherever we need ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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: chrome/browser/ui/gtk/location_bar_view_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/location_bar_view_gtk.cc (revision 82144)
+++ chrome/browser/ui/gtk/location_bar_view_gtk.cc (working copy)
@@ -1636,8 +1636,8 @@
if (badge_text.empty())
return FALSE;
- gfx::CanvasSkiaPaint canvas(event, false);
+ gfx::CanvasSkiaPaint canvas_paint(event, false);
gfx::Rect bounding_rect(widget->allocation);
- page_action_->PaintBadge(&canvas, bounding_rect, tab_id);
+ page_action_->PaintBadge(canvas_paint.AsCanvas(), bounding_rect, tab_id);
return FALSE;
}
« no previous file with comments | « chrome/browser/ui/gtk/infobars/infobar_arrow_model.cc ('k') | chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698