Index: components/test_runner/test_plugin.cc |
diff --git a/components/test_runner/test_plugin.cc b/components/test_runner/test_plugin.cc |
index 03cdcd0b95f5236d33e9079dfff541660b3bb2c6..681838447287bd8237ccdd326aa3803faf1c6308 100644 |
--- a/components/test_runner/test_plugin.cc |
+++ b/components/test_runner/test_plugin.cc |
@@ -265,9 +265,7 @@ |
gpu::SyncToken sync_token; |
gl_->GenSyncTokenCHROMIUM(fence_sync, sync_token.GetData()); |
- texture_mailbox_ = |
- cc::TextureMailbox(mailbox, sync_token, GL_TEXTURE_2D, |
- gfx::Rect(rect_).size(), false, false); |
+ texture_mailbox_ = cc::TextureMailbox(mailbox, sync_token, GL_TEXTURE_2D); |
} else { |
std::unique_ptr<cc::SharedBitmap> bitmap = |
delegate_->GetSharedBitmapManager()->AllocateSharedBitmap( |