Commit 3d2ccd9f authored by andresantoso's avatar andresantoso Committed by Commit bot

MacViews: Get ImageTest to pass

Mac does not use Skia image natively even if TOOLKIT_VIEWS=1.

BUG=378134

Review URL: https://codereview.chromium.org/517723002

Cr-Commit-Position: refs/heads/master@{#292443}
parent 4082bfc5
...@@ -20,11 +20,10 @@ ...@@ -20,11 +20,10 @@
namespace { namespace {
#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID) || \ #if defined(OS_IOS) || defined(OS_MACOSX)
(defined(OS_LINUX) && !defined(USE_CAIRO))
const bool kUsesSkiaNatively = true;
#else
const bool kUsesSkiaNatively = false; const bool kUsesSkiaNatively = false;
#else
const bool kUsesSkiaNatively = true;
#endif #endif
class ImageTest : public testing::Test { class ImageTest : public testing::Test {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment