Index: cc/resources/prioritized_resource_unittest.cc |
diff --git a/cc/resources/prioritized_resource_unittest.cc b/cc/resources/prioritized_resource_unittest.cc |
index 91b1c2ec62e574fc1be3bb02e7b85cfcf1f141fc..69ca27c3aa0a0151f3d6990aa8212a113e4dcd3c 100644 |
--- a/cc/resources/prioritized_resource_unittest.cc |
+++ b/cc/resources/prioritized_resource_unittest.cc |
@@ -19,7 +19,7 @@ class PrioritizedResourceTest : public testing::Test { |
public: |
PrioritizedResourceTest() |
: texture_size_(256, 256), |
- texture_format_(GL_RGBA), |
+ texture_format_(ResourceProvider::RGBA_8888), |
output_surface_(FakeOutputSurface::Create3d()) { |
DebugScopedSetImplThread impl_thread(&proxy_); |
CHECK(output_surface_->BindToClient(&output_surface_client_)); |
@@ -93,7 +93,7 @@ class PrioritizedResourceTest : public testing::Test { |
protected: |
FakeProxy proxy_; |
const gfx::Size texture_size_; |
- const GLenum texture_format_; |
+ const ResourceProvider::Format texture_format_; |
FakeOutputSurfaceClient output_surface_client_; |
scoped_ptr<OutputSurface> output_surface_; |
scoped_ptr<cc::ResourceProvider> resource_provider_; |