Index: cc/resources/scoped_resource_unittest.cc |
diff --git a/cc/resources/scoped_resource_unittest.cc b/cc/resources/scoped_resource_unittest.cc |
index a9a087e62edab7ea804a3a295a01c8d3f89b8685..97e93d2adcb055102ede22a797719691eb413135 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()); |
} |