Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(972)

Unified Diff: components/test_runner/test_plugin.cc

Issue 2547683003: Reland "Fix HTML5 video blurry" (Closed)
Patch Set: rebase to ToT Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/test_runner/test_plugin.cc
diff --git a/components/test_runner/test_plugin.cc b/components/test_runner/test_plugin.cc
index 681838447287bd8237ccdd326aa3803faf1c6308..03cdcd0b95f5236d33e9079dfff541660b3bb2c6 100644
--- a/components/test_runner/test_plugin.cc
+++ b/components/test_runner/test_plugin.cc
@@ -265,7 +265,9 @@ void TestPlugin::updateGeometry(
gpu::SyncToken sync_token;
gl_->GenSyncTokenCHROMIUM(fence_sync, sync_token.GetData());
- texture_mailbox_ = cc::TextureMailbox(mailbox, sync_token, GL_TEXTURE_2D);
+ texture_mailbox_ =
+ cc::TextureMailbox(mailbox, sync_token, GL_TEXTURE_2D,
+ gfx::Rect(rect_).size(), false, false);
} else {
std::unique_ptr<cc::SharedBitmap> bitmap =
delegate_->GetSharedBitmapManager()->AllocateSharedBitmap(

Powered by Google App Engine
This is Rietveld 408576698