| Index: cc/CCScopedTextureTest.cpp
|
| diff --git a/cc/CCScopedTextureTest.cpp b/cc/CCScopedTextureTest.cpp
|
| index c3046ead5aeac592d2004f22807f64d8e578eae2..88194b8e5042f0a595f8e4a1a97a321857baf1b3 100644
|
| --- a/cc/CCScopedTextureTest.cpp
|
| +++ b/cc/CCScopedTextureTest.cpp
|
| @@ -23,7 +23,7 @@ TEST(CCScopedTextureTest, NewScopedTexture)
|
| {
|
| OwnPtr<CCGraphicsContext> context(createFakeCCGraphicsContext());
|
| DebugScopedSetImplThread implThread;
|
| - OwnPtr<CCResourceProvider> resourceProvider(CCResourceProvider::create(context.get(), UnthrottledUploader));
|
| + OwnPtr<CCResourceProvider> resourceProvider(CCResourceProvider::create(context.get()));
|
| OwnPtr<CCScopedTexture> texture = CCScopedTexture::create(resourceProvider.get());
|
|
|
| // New scoped textures do not hold a texture yet.
|
| @@ -38,7 +38,7 @@ TEST(CCScopedTextureTest, CreateScopedTexture)
|
| {
|
| OwnPtr<CCGraphicsContext> context(createFakeCCGraphicsContext());
|
| DebugScopedSetImplThread implThread;
|
| - OwnPtr<CCResourceProvider> resourceProvider(CCResourceProvider::create(context.get(), UnthrottledUploader));
|
| + OwnPtr<CCResourceProvider> resourceProvider(CCResourceProvider::create(context.get()));
|
| OwnPtr<CCScopedTexture> texture = CCScopedTexture::create(resourceProvider.get());
|
| texture->allocate(CCRenderer::ImplPool, IntSize(30, 30), GraphicsContext3D::RGBA, CCResourceProvider::TextureUsageAny);
|
|
|
| @@ -55,7 +55,7 @@ TEST(CCScopedTextureTest, ScopedTextureIsDeleted)
|
| {
|
| OwnPtr<CCGraphicsContext> context(createFakeCCGraphicsContext());
|
| DebugScopedSetImplThread implThread;
|
| - OwnPtr<CCResourceProvider> resourceProvider(CCResourceProvider::create(context.get(), UnthrottledUploader));
|
| + OwnPtr<CCResourceProvider> resourceProvider(CCResourceProvider::create(context.get()));
|
|
|
| {
|
| OwnPtr<CCScopedTexture> texture = CCScopedTexture::create(resourceProvider.get());
|
| @@ -83,7 +83,7 @@ TEST(CCScopedTextureTest, LeakScopedTexture)
|
| {
|
| OwnPtr<CCGraphicsContext> context(createFakeCCGraphicsContext());
|
| DebugScopedSetImplThread implThread;
|
| - OwnPtr<CCResourceProvider> resourceProvider(CCResourceProvider::create(context.get(), UnthrottledUploader));
|
| + OwnPtr<CCResourceProvider> resourceProvider(CCResourceProvider::create(context.get()));
|
|
|
| {
|
| OwnPtr<CCScopedTexture> texture = CCScopedTexture::create(resourceProvider.get());
|
|
|