Index: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp |
index a003681da3ee3356c7cb7077fa284e2045ac8ebf..f27d4541952b4995f8c70b8dc68e5a5744fadd84 100644 |
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp |
@@ -469,7 +469,7 @@ PassRefPtr<StaticBitmapImage> DrawingBuffer::transferToStaticBitmapImage() |
// TODO(xidachen): Create a small pool of recycled textures from ImageBitmapRenderingContext's |
// transferFromImageBitmap, and try to use them in DrawingBuffer. |
- return AcceleratedStaticBitmapImage::createFromWebGLContextImage(std::move(skImage), skImageMailbox, skImageSyncToken); |
+ return AcceleratedStaticBitmapImage::createFromWebGLContextImage(std::move(skImage), skImageMailbox, skImageSyncToken, textureId); |
} |
DrawingBuffer::TextureParameters DrawingBuffer::chromiumImageTextureParameters() |