Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp |
| diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp |
| index db8d6d6b0d82815b417583c2d943f84a2ca60490..781cdcfbd66a50719549ccb54f4c816653a92316 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp |
| +++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp |
| @@ -429,7 +429,8 @@ bool Canvas2DLayerBridge::prepareMailboxFromImage( |
| gl->GenSyncTokenCHROMIUM(fenceSync, syncToken.GetData()); |
| } |
| mailboxInfo.m_mailbox = mailbox; |
| - *outMailbox = cc::TextureMailbox(mailbox, syncToken, GL_TEXTURE_2D); |
| + *outMailbox = cc::TextureMailbox(mailbox, syncToken, GL_TEXTURE_2D, m_size, |
|
enne (OOO)
2016/10/19 19:04:03
Why did this need to change?
dshwang
2016/10/20 18:57:56
It's the bug I mentioned above. without this chang
|
| + false, false); |
| gl->BindTexture(GL_TEXTURE_2D, 0); |
| // Because we are changing the texture binding without going through skia, |