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

Unified Diff: chrome/browser/ui/views/tabs/tab_strip.cc

Issue 9705063: ui/gfx: Rename almost all entries from gfx::CanvasSkia to gfx::Canvas. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/theme_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab_strip.cc
diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc
index e0d1a407fbe389e496a9bed39304a7793e06f44d..9eb4dec7f61a663052b707c8aef49782ad8cea88 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.cc
+++ b/chrome/browser/ui/views/tabs/tab_strip.cc
@@ -230,7 +230,7 @@ SkBitmap NewTabButton::GetBackgroundBitmap(
SkBitmap* mask = GetThemeProvider()->GetBitmapNamed(IDR_NEWTAB_BUTTON_MASK);
int height = mask->height();
int width = mask->width();
- gfx::CanvasSkia canvas(gfx::Size(width, height), false);
+ gfx::Canvas canvas(gfx::Size(width, height), false);
// For custom images the background starts at the top of the tab strip.
// Otherwise the background starts at the top of the frame.
@@ -261,7 +261,7 @@ SkBitmap NewTabButton::GetBitmapForState(
IDR_NEWTAB_BUTTON_P : IDR_NEWTAB_BUTTON;
SkBitmap* overlay = GetThemeProvider()->GetBitmapNamed(overlay_id);
- gfx::CanvasSkia canvas(gfx::Size(overlay->width(), overlay->height()), false);
+ gfx::Canvas canvas(gfx::Size(overlay->width(), overlay->height()), false);
canvas.DrawBitmapInt(GetBackgroundBitmap(state), 0, 0);
// Draw the button border with a slight alpha.
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/theme_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698