diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-03 21:44:39 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-03 21:44:39 +0000 |
commit | 74e3af7013e7fb3ae9a9cbd98a7fcaf8469b1b0d (patch) | |
tree | 27015ae94476e29886a69397af7bc32f1dff5ad2 /skia/ext | |
parent | cc1f11583bd3b45f4f8853c617cacb8d7fc58eb8 (diff) | |
download | chromium_src-74e3af7013e7fb3ae9a9cbd98a7fcaf8469b1b0d.zip chromium_src-74e3af7013e7fb3ae9a9cbd98a7fcaf8469b1b0d.tar.gz chromium_src-74e3af7013e7fb3ae9a9cbd98a7fcaf8469b1b0d.tar.bz2 |
clang/mac: Fix most problems in unittest targets in webkit.gyp
This does to WebPoint/gfx::Point what we did to WebString/string16 last friday and fixes a bunch of other small issues.
Also fix two tiny issues in the base unit tests target.
BUG=None
TEST=None
TBR=hans
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61343 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext')
-rw-r--r-- | skia/ext/platform_canvas_unittest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/skia/ext/platform_canvas_unittest.cc b/skia/ext/platform_canvas_unittest.cc index 2219d12..c804998 100644 --- a/skia/ext/platform_canvas_unittest.cc +++ b/skia/ext/platform_canvas_unittest.cc @@ -53,6 +53,7 @@ bool VerifyRect(const PlatformCanvas& canvas, return true; } +#if !defined(OS_MACOSX) bool IsOfColor(const SkBitmap& bitmap, int x, int y, uint32_t color) { // For masking out the alpha values. static uint32_t alpha_mask = 0xFF << SK_A32_SHIFT; @@ -83,6 +84,7 @@ bool VerifyRoundedRect(const PlatformCanvas& canvas, return true; } +#endif // Checks whether there is a white canvas with a black square at the given // location in pixels (not in the canvas coordinate system). |