| 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 941e23539cd8fbdd3921a3a18e637469c31cbdd9..f48b667825643520b216c9817da881bdbba64a44 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
|
| @@ -1031,7 +1031,8 @@ class MODULES_EXPORT WebGLRenderingContextBase : public CanvasRenderingContext,
|
| Image*,
|
| WebGLImageConversion::ImageHtmlDomSource,
|
| bool flipY,
|
| - bool premultiplyAlpha);
|
| + bool premultiplyAlpha,
|
| + const IntRect&);
|
|
|
| // Copy from the source directly to the texture via the gpu, without a
|
| // read-back to system memory. Souce could be canvas or imageBitmap.
|
| @@ -1501,6 +1502,7 @@ class MODULES_EXPORT WebGLRenderingContextBase : public CanvasRenderingContext,
|
| GLint,
|
| GLint,
|
| HTMLImageElement*,
|
| + const IntRect&,
|
| ExceptionState&);
|
| void texImageHelperHTMLCanvasElement(TexImageFunctionID,
|
| GLenum,
|
| @@ -1536,6 +1538,8 @@ class MODULES_EXPORT WebGLRenderingContextBase : public CanvasRenderingContext,
|
| ImageBitmap*,
|
| ExceptionState&);
|
| static const char* getTexImageFunctionName(TexImageFunctionID);
|
| + IntRect sentinelEmptyRect();
|
| + IntRect safeGetImageSize(Image*);
|
|
|
| private:
|
| WebGLRenderingContextBase(HTMLCanvasElement*,
|
|
|