| Index: content/renderer/browser_plugin/browser_plugin_compositing_helper.cc
|
| diff --git a/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc b/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc
|
| index dd7d84fc51a1b3e65cbcb4d13e53a24e79b05aec..c58471175b0ce6e8852ba236af2978b4605a5764 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc
|
| +++ b/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc
|
| @@ -63,7 +63,7 @@ void BrowserPluginCompositingHelper::OnBuffersSwapped(
|
| if (!current_mailbox_valid && !last_mailbox_valid_)
|
| return;
|
|
|
| - cc::TextureLayer::MailboxCallback callback;
|
| + cc::TextureMailbox::ReleaseCallback callback;
|
| if (current_mailbox_valid) {
|
| callback = base::Bind(&SendACK,
|
| mailbox_name,
|
| @@ -71,7 +71,8 @@ void BrowserPluginCompositingHelper::OnBuffersSwapped(
|
| gpu_route_id,
|
| gpu_host_id);
|
| }
|
| - texture_layer_->setTextureMailbox(mailbox_name, callback);
|
| + texture_layer_->setTextureMailbox(cc::TextureMailbox(mailbox_name,
|
| + callback));
|
| last_mailbox_valid_ = current_mailbox_valid;
|
| }
|
|
|
|
|