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

Unified Diff: ui/gfx/image/image_unittest_util.cc

Issue 10780010: Introduces ImageSkia::GetRepresentations() for Mac (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
Index: ui/gfx/image/image_unittest_util.cc
diff --git a/ui/gfx/image/image_unittest_util.cc b/ui/gfx/image/image_unittest_util.cc
index 04620a7f66c3677241226809a7b811ca8b6066b5..28ad593a05e31c5c4c04c1b2d80fa0919bddbc7f 100644
--- a/ui/gfx/image/image_unittest_util.cc
+++ b/ui/gfx/image/image_unittest_util.cc
@@ -21,8 +21,6 @@
namespace gfx {
namespace test {
-#if defined(OS_MACOSX)
-
void SetSupportedScaleFactorsTo1xAnd2x() {
std::vector<ui::ScaleFactor> supported_scale_factors;
supported_scale_factors.push_back(ui::SCALE_FACTOR_100P);
@@ -30,8 +28,6 @@ void SetSupportedScaleFactorsTo1xAnd2x() {
ui::test::SetSupportedScaleFactors(supported_scale_factors);
}
-#endif // OS_MACOSX
-
const SkBitmap CreateBitmap(int width, int height) {
SkBitmap bitmap;
bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height);
« chrome/browser/ui/views/wrench_menu.cc ('K') | « ui/gfx/image/image_unittest_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698