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..181498c5a348aea63360f109c5c49bae3823d2c0 100644 |
--- a/cc/resources/prioritized_resource_unittest.cc |
+++ b/cc/resources/prioritized_resource_unittest.cc |
@@ -19,11 +19,12 @@ class PrioritizedResourceTest : public testing::Test { |
public: |
PrioritizedResourceTest() |
: texture_size_(256, 256), |
- texture_format_(GL_RGBA), |
+ texture_format_(RGBA_8888), |
output_surface_(FakeOutputSurface::Create3d()) { |
DebugScopedSetImplThread impl_thread(&proxy_); |
CHECK(output_surface_->BindToClient(&output_surface_client_)); |
- resource_provider_ = cc::ResourceProvider::Create(output_surface_.get(), 0); |
+ resource_provider_ = |
+ cc::ResourceProvider::Create(output_surface_.get(), 0, false); |
} |
virtual ~PrioritizedResourceTest() { |
@@ -93,7 +94,7 @@ class PrioritizedResourceTest : public testing::Test { |
protected: |
FakeProxy proxy_; |
const gfx::Size texture_size_; |
- const GLenum texture_format_; |
+ const ResourceFormat texture_format_; |
FakeOutputSurfaceClient output_surface_client_; |
scoped_ptr<OutputSurface> output_surface_; |
scoped_ptr<cc::ResourceProvider> resource_provider_; |