Index: gpu/command_buffer/tests/gl_fence_sync_unittest.cc |
diff --git a/gpu/command_buffer/tests/gl_fence_sync_unittest.cc b/gpu/command_buffer/tests/gl_fence_sync_unittest.cc |
index 5c86dc328ebc224b668fa8b89d473f2bf25d664b..ad21f345a870078e90dc59b20b75ba280883ee3c 100644 |
--- a/gpu/command_buffer/tests/gl_fence_sync_unittest.cc |
+++ b/gpu/command_buffer/tests/gl_fence_sync_unittest.cc |
@@ -7,7 +7,6 @@ |
#include <GLES2/gl2extchromium.h> |
#include "base/memory/scoped_ptr.h" |
-#include "gpu/command_buffer/common/sync_token.h" |
#include "gpu/command_buffer/service/sync_point_manager.h" |
#include "gpu/command_buffer/tests/gl_manager.h" |
#include "gpu/command_buffer/tests/gl_test_utils.h" |
@@ -45,9 +44,9 @@ |
gl1_.MakeCurrent(); |
const GLuint64 fence_sync = glInsertFenceSyncCHROMIUM(); |
- SyncToken sync_token; |
+ GLbyte sync_token[GL_SYNC_TOKEN_SIZE_CHROMIUM]; |
glFlush(); |
- glGenSyncTokenCHROMIUM(fence_sync, sync_token.data); |
+ glGenSyncTokenCHROMIUM(fence_sync, sync_token); |
ASSERT_TRUE(GL_NO_ERROR == glGetError()); |
// Make sure it is actually released. |
@@ -57,7 +56,7 @@ |
EXPECT_TRUE(gl1_client_state->IsFenceSyncReleased(fence_sync)); |
gl2_.MakeCurrent(); |
- glWaitSyncTokenCHROMIUM(sync_token.data); |
+ glWaitSyncTokenCHROMIUM(sync_token); |
glFinish(); |
// gl2 should not have released anything. |