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

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

Issue 10790128: Revert 147915 - Cleanup gfx::Canvas now that 10562027 has landed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
===================================================================
--- chrome/browser/ui/views/tabs/tab_strip.cc (revision 147935)
+++ chrome/browser/ui/views/tabs/tab_strip.cc (working copy)
@@ -436,7 +436,7 @@
canvas.FillRect(gfx::Rect(size()), SkColorSetARGB(64, 255, 255, 255));
return gfx::ImageSkiaOperations::CreateMaskedImage(
- gfx::ImageSkia(canvas.ExtractImageRep()), *mask);
+ gfx::ImageSkia(canvas.ExtractImageSkiaRep()), *mask);
}
gfx::ImageSkia NewTabButton::GetImageForState(
@@ -467,7 +467,7 @@
canvas.DrawImageInt(*overlay, 0, 0);
canvas.Restore();
- return gfx::ImageSkia(canvas.ExtractImageRep());
+ return gfx::ImageSkia(canvas.ExtractImageSkiaRep());
}
gfx::ImageSkia NewTabButton::GetImage(ui::ScaleFactor scale_factor) const {
« 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