Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
index a7b105741259c5e6c2394d39e2cb4c2884ff18e0..050802043cd6b6d0d5c6c9aebd0911aa0535b47c 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
@@ -615,6 +615,7 @@ class MODULES_EXPORT WebGLRenderingContextBase : public CanvasRenderingContext, |
friend class ScopedFramebufferRestorer; |
// To allow V8WebGL[2]RenderingContext to call visitChildDOMWrappers. |
friend class V8WebGLRenderingContext; |
+ friend class ScopedUnpackParametersResetRestore; |
WebGLRenderingContextBase(HTMLCanvasElement*, |
std::unique_ptr<WebGraphicsContext3DProvider>, |
@@ -986,6 +987,8 @@ class MODULES_EXPORT WebGLRenderingContextBase : public CanvasRenderingContext, |
CopyTexImage, |
CompressedTexImage |
}; |
+ |
+ // This must stay in sync with WebMediaPlayer::TexImageFunctionID. |
enum TexImageFunctionID { |
TexImage2D, |
TexSubImage2D, |