| Index: third_party/WebKit/Source/modules/webgl/WebGLSync.h
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLSync.h b/third_party/WebKit/Source/modules/webgl/WebGLSync.h
|
| index ca47ba2b220f4e3a82f9f56063a8954e99d82690..ba9a7815f6b90a40192b3b32ca4ecd37f93c1590 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLSync.h
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLSync.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "modules/webgl/WebGLSharedObject.h"
|
| #include "public/platform/WebGraphicsContext3D.h"
|
| +#include "third_party/khronos/GLES2/gl2.h"
|
|
|
| namespace blink {
|
|
|
| @@ -17,12 +18,12 @@ class WebGLSync : public WebGLSharedObject {
|
| public:
|
| ~WebGLSync() override;
|
|
|
| - WGC3Dsync object() const { return m_object; }
|
| + GLsync object() const { return m_object; }
|
|
|
| protected:
|
| - WebGLSync(WebGL2RenderingContextBase*, WGC3Dsync, GLenum objectType);
|
| + WebGLSync(WebGL2RenderingContextBase*, GLsync, GLenum objectType);
|
|
|
| - bool hasObject() const override { return m_object != 0; }
|
| + bool hasObject() const override { return m_object != nullptr; }
|
| void deleteObjectImpl(WebGraphicsContext3D*, gpu::gles2::GLES2Interface*) override;
|
|
|
| GLenum objectType() const { return m_objectType; }
|
| @@ -30,7 +31,7 @@ protected:
|
| private:
|
| bool isSync() const override { return true; }
|
|
|
| - WGC3Dsync m_object;
|
| + GLsync m_object;
|
| GLenum m_objectType;
|
| };
|
|
|
|
|