Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp |
| diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp |
| index 4b8eeaf947af65d0af16af89bf08a1be0ddc4cd5..729b76da43a45b2af500c6b78ece60359dd13f5f 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp |
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp |
| @@ -569,7 +569,7 @@ bool DrawingBuffer::copyToPlatformTexture(gpu::gles2::GLES2Interface* gl, GLuint |
| const GLuint64 fenceSync = gl->InsertFenceSyncCHROMIUM(); |
| gl->Flush(); |
| - GLbyte syncToken[24]; |
| + GLbyte syncToken[24] = { 0 }; |
|
Ken Russell (switch to Gerrit)
2016/07/18 21:27:05
Is this code allowed to reference src/gpu/GLES2/gl
danakj
2016/07/18 21:40:35
Done. Thanks, didn't know that exists.
|
| gl->GenSyncTokenCHROMIUM(fenceSync, syncToken); |
| m_gl->WaitSyncTokenCHROMIUM(syncToken); |