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

Unified Diff: chrome/browser/ui/cocoa/table_row_nsimage_cache_unittest.mm

Issue 10453101: Convert most of the rest of chrome to ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/cocoa/table_row_nsimage_cache.mm ('k') | chrome/browser/ui/cocoa/task_manager_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/table_row_nsimage_cache_unittest.mm
diff --git a/chrome/browser/ui/cocoa/table_row_nsimage_cache_unittest.mm b/chrome/browser/ui/cocoa/table_row_nsimage_cache_unittest.mm
index ecca71e91a7083a2437cc9379db3b4ba43aac73b..cc8b40333234982762343677d8bc313c94d46185 100644
--- a/chrome/browser/ui/cocoa/table_row_nsimage_cache_unittest.mm
+++ b/chrome/browser/ui/cocoa/table_row_nsimage_cache_unittest.mm
@@ -6,6 +6,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
+#include "ui/gfx/image/image_skia.h"
namespace {
@@ -20,8 +21,8 @@ class TestTable : public TableRowNSImageCache::Table {
virtual int RowCount() const {
return rows_.size();
}
- virtual SkBitmap GetIcon(int index) const {
- return rows_[index];
+ virtual gfx::ImageSkia GetIcon(int index) const {
+ return gfx::ImageSkia(rows_[index]);
}
private:
« no previous file with comments | « chrome/browser/ui/cocoa/table_row_nsimage_cache.mm ('k') | chrome/browser/ui/cocoa/task_manager_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698