Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2967)

Unified Diff: content/renderer/browser_plugin/browser_plugin_compositing_helper.cc

Issue 11888010: Cosmetic cleanup to texture_layer mailboxes. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« cc/texture_mailbox.h ('K') | « cc/texture_mailbox.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« cc/texture_mailbox.h ('K') | « cc/texture_mailbox.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698