summaryrefslogtreecommitdiffstats
path: root/cc/resources/scoped_resource_unittest.cc
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-29 18:19:08 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-29 18:19:08 +0000
commitce638d154c6e8618b8df761115a5a9e2c9d8a106 (patch)
treefaff62a8bee25f77d93d6837b121ca8fa639bf29 /cc/resources/scoped_resource_unittest.cc
parente5bd68e150c9d2b46187d2d1a7d948f709760d34 (diff)
downloadchromium_src-ce638d154c6e8618b8df761115a5a9e2c9d8a106.zip
chromium_src-ce638d154c6e8618b8df761115a5a9e2c9d8a106.tar.gz
chromium_src-ce638d154c6e8618b8df761115a5a9e2c9d8a106.tar.bz2
cc: Add ‘chromium_code’: 1 to cc.gyp and cc_tests.gyp
And fix compile errors that it causes. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191364 Review URL: https://codereview.chromium.org/13206004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resources/scoped_resource_unittest.cc')
-rw-r--r--cc/resources/scoped_resource_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/resources/scoped_resource_unittest.cc b/cc/resources/scoped_resource_unittest.cc
index a9a087e..97e93d2 100644
--- a/cc/resources/scoped_resource_unittest.cc
+++ b/cc/resources/scoped_resource_unittest.cc
@@ -42,7 +42,7 @@ TEST(ScopedResourceTest, CreateScopedResource) {
EXPECT_EQ(expected_bytes, texture->bytes());
EXPECT_LT(0u, texture->id());
- EXPECT_EQ(GL_RGBA, texture->format());
+ EXPECT_EQ(static_cast<unsigned>(GL_RGBA), texture->format());
EXPECT_EQ(gfx::Size(30, 30), texture->size());
}