Index: components/test_runner/test_plugin.cc |
diff --git a/components/test_runner/test_plugin.cc b/components/test_runner/test_plugin.cc |
index cdbb969297e3168ab671936c6db7ca710c21ac2f..419bdb280c705978f1ae135d7b77ac352b47b810 100644 |
--- a/components/test_runner/test_plugin.cc |
+++ b/components/test_runner/test_plugin.cc |
@@ -275,9 +275,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( |