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

Unified Diff: ui/oak/oak_window.cc

Issue 10447053: Converts remainder of ui and chrome/browser/ui/views/frame to use ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/oak/oak_window.cc
diff --git a/ui/oak/oak_window.cc b/ui/oak/oak_window.cc
index 52663365da76598c898932f22c658ea4658e2e3f..1cdd9f52cab4e162f747b6b2c51a31adcaf12fa7 100644
--- a/ui/oak/oak_window.cc
+++ b/ui/oak/oak_window.cc
@@ -57,9 +57,9 @@ views::View* OakWindow::GetContentsView() {
return this;
}
-SkBitmap OakWindow::GetWindowIcon() {
+gfx::ImageSkia OakWindow::GetWindowIcon() {
ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
- return *rb.GetImageNamed(IDR_OAK).ToSkBitmap();
+ return *rb.GetImageNamed(IDR_OAK).ToImageSkia();
}
bool OakWindow::ShouldShowWindowIcon() const {

Powered by Google App Engine
This is Rietveld 408576698