| Index: third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.h b/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.h
|
| index 34ad7e5fe9c3819b386e7a0c1fd1943b0819fd42..37e9a2aa8ccd80b7d8233d87191ed293a4d6f530 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.h
|
| @@ -216,8 +216,9 @@ class PLATFORM_EXPORT WebGLImageConversion final {
|
| bool flipY,
|
| AlphaOp,
|
| DataFormat sourceFormat,
|
| - unsigned width,
|
| - unsigned height,
|
| + unsigned sourceImageWidth,
|
| + unsigned sourceImageHeight,
|
| + const IntRect& sourceImageSubRectangle,
|
| unsigned sourceUnpackAlignment,
|
| Vector<uint8_t>& data);
|
|
|
| @@ -261,8 +262,9 @@ class PLATFORM_EXPORT WebGLImageConversion final {
|
| // GraphicsContext3DImagePacking.cpp.
|
| static bool packPixels(const uint8_t* sourceData,
|
| DataFormat sourceDataFormat,
|
| - unsigned width,
|
| - unsigned height,
|
| + unsigned sourceDataWidth,
|
| + unsigned sourceDataHeight,
|
| + const IntRect& sourceDataSubRectangle,
|
| unsigned sourceUnpackAlignment,
|
| unsigned destinationFormat,
|
| unsigned destinationType,
|
|
|