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 68696a9f2e9148760a7a8127a34af8a7a09c95ec..e9d53935d1296becb8092aa33794a80862c5b0b3 100644 |
--- a/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc |
+++ b/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc |
@@ -139,7 +139,7 @@ void BrowserPluginCompositingHelper::OnBuffersSwapped( |
return; |
} |
- cc::TextureLayer::MailboxCallback callback; |
+ cc::TextureMailbox::ReleaseCallback callback; |
if (current_mailbox_valid) { |
callback = base::Bind(&BrowserPluginCompositingHelper::MailboxReleased, |
scoped_refptr<BrowserPluginCompositingHelper>(this), |
@@ -147,8 +147,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; |
} |