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 8b76f1e4ebd853db684e373d0518a3da833f5942..64a4543d75ab20d2bf2aee9ea3c5fa7ba8d82570 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp |
@@ -207,6 +207,7 @@ bool ImageBuffer::copyToPlatformTexture(WebGraphicsContext3D* context, Platform3 |
return false; |
OwnPtr<WebExternalTextureMailbox> mailbox = adoptPtr(new WebExternalTextureMailbox); |
+ mailbox->textureSize = WebSize(textureImage->width(), textureImage->height()); |
// Contexts may be in a different share group. We must transfer the texture through a mailbox first |
sharedContext->genMailboxCHROMIUM(mailbox->name); |