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 70a7db9d2faa26fc82b0978d7a24de21a7025797..8489595e706e7dec17c772fba585d0eefcdfbe91 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp |
| +++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp |
| @@ -432,7 +432,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, |
| + false, false); |
|
Justin Novosad
2016/10/25 21:28:16
These "false" literals are bad for code readabilit
dshwang
2016/10/26 15:26:28
Done. Could you review again?
In addition, do you
|
| gl->BindTexture(GL_TEXTURE_2D, 0); |
| // Because we are changing the texture binding without going through skia, |