Chromium Code Reviews| Index: cc/blink/web_external_texture_layer_impl.cc |
| diff --git a/cc/blink/web_external_texture_layer_impl.cc b/cc/blink/web_external_texture_layer_impl.cc |
| index 03f6e18fb64c45f89b7293d84863c185737b1460..ca33e9f9504bf434d9d8e94f3025292d87b49117 100644 |
| --- a/cc/blink/web_external_texture_layer_impl.cc |
| +++ b/cc/blink/web_external_texture_layer_impl.cc |
| @@ -86,9 +86,8 @@ bool WebExternalTextureLayerImpl::PrepareTextureMailbox( |
| if (client_mailbox.validSyncToken) |
| memcpy(&sync_token, client_mailbox.syncToken, sizeof(sync_token)); |
| - gfx::Size size; |
| - if (client_mailbox.allowOverlay) |
|
danakj
2016/03/16 01:21:19
https://code.google.com/p/chromium/codesearch#chro
erikchen
2016/03/16 01:33:58
For other onlookers, the comment says:
"""
// This
danakj
2016/03/16 01:48:25
Well, but what's the point of passing in something
erikchen
2016/03/16 01:55:30
I re-added the conditional """if (client_mailbox.a
|
| - size = gfx::Size(layer_->bounds().width, layer_->bounds().height); |
| + gfx::Size size = gfx::Size(client_mailbox.textureSize.width, |
| + client_mailbox.textureSize.height); |
| *mailbox = |
| cc::TextureMailbox(name, sync_token, client_mailbox.textureTarget, size, |