Index: content/common/gpu/client/gl_helper_unittest.cc |
diff --git a/content/common/gpu/client/gl_helper_unittest.cc b/content/common/gpu/client/gl_helper_unittest.cc |
index 8278d76c8dd4e70c3fcc7dba778b245399922d35..ce7750bf005cabdf7ca57533ff2f45c6245a1a78 100644 |
--- a/content/common/gpu/client/gl_helper_unittest.cc |
+++ b/content/common/gpu/client/gl_helper_unittest.cc |
@@ -1363,7 +1363,7 @@ class GLHelperTest : public testing::Test { |
context_->genMailboxCHROMIUM(mailbox.name); |
EXPECT_FALSE(mailbox.IsZero()); |
context_->produceTextureCHROMIUM(GL_TEXTURE_2D, mailbox.name); |
- uint32 sync_point = context_->insertSyncPoint(); |
+ gpu::SyncToken sync_token(context_->insertSyncPoint()); |
std::string message = base::StringPrintf( |
"input size: %dx%d " |
@@ -1407,9 +1407,7 @@ class GLHelperTest : public testing::Test { |
base::TimeDelta::FromSeconds(0)); |
base::RunLoop run_loop; |
- yuv_reader->ReadbackYUV(mailbox, |
- sync_point, |
- output_frame.get(), |
+ yuv_reader->ReadbackYUV(mailbox, sync_token, output_frame.get(), |
gfx::Point(xmargin, ymargin), |
base::Bind(&callcallback, run_loop.QuitClosure())); |
run_loop.Run(); |