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

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

Issue 517723002: MacViews: Get ImageTest to pass (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image_unittest.cc
diff --git a/ui/gfx/image/image_unittest.cc b/ui/gfx/image/image_unittest.cc
index ca9efa0003c4edde4e552ab5164bef2f652674ff..68fbdfd8b09f2a40b94d747dca6dbc8de91d61a5 100644
--- a/ui/gfx/image/image_unittest.cc
+++ b/ui/gfx/image/image_unittest.cc
@@ -20,11 +20,10 @@
namespace {
-#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID) || \
- (defined(OS_LINUX) && !defined(USE_CAIRO))
-const bool kUsesSkiaNatively = true;
-#else
+#if defined(OS_IOS) || defined(OS_MACOSX)
const bool kUsesSkiaNatively = false;
+#else
+const bool kUsesSkiaNatively = true;
#endif
class ImageTest : public testing::Test {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698