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 /tools/imagediff | |
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 'tools/imagediff')
-rw-r--r-- | tools/imagediff/image_diff.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/imagediff/image_diff.cc b/tools/imagediff/image_diff.cc index 512b37f..f7be435 100644 --- a/tools/imagediff/image_diff.cc +++ b/tools/imagediff/image_diff.cc @@ -119,7 +119,7 @@ class Image { } // Returns the RGBA value of the pixel at the given location - const uint32 pixel_at(int x, int y) const { + uint32 pixel_at(int x, int y) const { DCHECK(x >= 0 && x < w_); DCHECK(y >= 0 && y < h_); return *reinterpret_cast<const uint32*>(&(data_[(y * w_ + x) * 4])); |