| Index: third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
|
| index 53c7d44fc560980b3cbf55031099720b0337c3f1..c012260156872f59c36a888650896ce118a37194 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
|
| @@ -52,6 +52,7 @@
|
| #include "public/platform/WebGraphicsContext3D.h"
|
| #include "public/platform/WebGraphicsContext3DProvider.h"
|
| #include "third_party/skia/include/core/SkPicture.h"
|
| +#include "third_party/skia/include/gpu/gl/GrGLTypes.h"
|
| #include "wtf/ArrayBufferContents.h"
|
| #include "wtf/MathExtras.h"
|
| #include "wtf/Vector.h"
|
| @@ -194,7 +195,7 @@ bool ImageBuffer::copyToPlatformTexture(WebGraphicsContext3D* context, Platform3
|
|
|
| ASSERT(textureImage->isTextureBacked()); // isAccelerated() check above should guarantee this
|
| // Get the texture ID, flushing pending operations if needed.
|
| - Platform3DObject textureId = textureImage->getTextureHandle(true);
|
| + Platform3DObject textureId = reinterpret_cast<const GrGLTextureInfo*>(textureImage->getTextureHandle(true))->fID;
|
| if (!textureId)
|
| return false;
|
|
|
|
|