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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLFenceSync.cpp

Issue 1812243003: Remove methods from WebGraphicsContext3D that wrap type casts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simples-tplus
Patch Set: complex-casts: rebase Created 4 years, 9 months 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: third_party/WebKit/Source/modules/webgl/WebGLFenceSync.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLFenceSync.cpp b/third_party/WebKit/Source/modules/webgl/WebGLFenceSync.cpp
index a2b52bedd139b81b19ebc1ada0d856fd68f29d8e..5667b9609daaf82e2f8fbf19599643ff95199f5b 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLFenceSync.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLFenceSync.cpp
@@ -4,6 +4,7 @@
#include "modules/webgl/WebGLFenceSync.h"
+#include "gpu/command_buffer/client/gles2_interface.h"
#include "modules/webgl/WebGL2RenderingContextBase.h"
namespace blink {
@@ -18,7 +19,7 @@ WebGLFenceSync::~WebGLFenceSync()
}
WebGLFenceSync::WebGLFenceSync(WebGL2RenderingContextBase* ctx, GLenum condition, GLbitfield flags)
- : WebGLSync(ctx, ctx->webContext()->fenceSync(condition, flags), GL_SYNC_FENCE)
+ : WebGLSync(ctx, ctx->contextGL()->FenceSync(condition, flags), GL_SYNC_FENCE)
{
}

Powered by Google App Engine
This is Rietveld 408576698