Index: components/test_runner/test_plugin.cc |
diff --git a/components/test_runner/test_plugin.cc b/components/test_runner/test_plugin.cc |
index fed9a2c8749bba589d3a7809e72d21ff897f9150..76f608c96daa08340e0f724e3f554ca9e8526e30 100644 |
--- a/components/test_runner/test_plugin.cc |
+++ b/components/test_runner/test_plugin.cc |
@@ -312,11 +312,9 @@ void TestPlugin::updateGeometry( |
gpu::Mailbox mailbox; |
context_->genMailboxCHROMIUM(mailbox.name); |
context_->produceTextureCHROMIUM(GL_TEXTURE_2D, mailbox.name); |
- const blink::WGC3Duint64 fence_sync = context_->insertFenceSyncCHROMIUM(); |
context_->flush(); |
- |
gpu::SyncToken sync_token; |
- context_->genSyncTokenCHROMIUM(fence_sync, sync_token.GetData()); |
+ context_->insertSyncPoint(sync_token.GetData()); |
texture_mailbox_ = cc::TextureMailbox(mailbox, sync_token, GL_TEXTURE_2D); |
} else { |
scoped_ptr<cc::SharedBitmap> bitmap = |