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

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: Rebase 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
« no previous file with comments | « 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 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;
}
« no previous file with comments | « cc/texture_mailbox.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698