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

Unified Diff: cc/texture_mailbox.cc

Issue 12440005: Use gpu::Mailbox in IPCs instead of std::string (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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.h ('k') | content/browser/browser_plugin/browser_plugin_guest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/texture_mailbox.cc
diff --git a/cc/texture_mailbox.cc b/cc/texture_mailbox.cc
index b534605f77793a4583d376db2a1ea3cd4033b5cd..437fb1c9702c3d6786fe60ec1612798fd9ade6d8 100644
--- a/cc/texture_mailbox.cc
+++ b/cc/texture_mailbox.cc
@@ -12,18 +12,6 @@ TextureMailbox::TextureMailbox()
}
TextureMailbox::TextureMailbox(
- const std::string& mailbox_name,
- const ReleaseCallback& mailbox_callback)
- : callback_(mailbox_callback),
- sync_point_(0) {
- DCHECK(mailbox_name.empty() == mailbox_callback.is_null());
- if (!mailbox_name.empty()) {
- CHECK(mailbox_name.size() == sizeof(name_.name));
- name_.SetName(reinterpret_cast<const int8*>(mailbox_name.data()));
- }
-}
-
-TextureMailbox::TextureMailbox(
const gpu::Mailbox& mailbox_name,
const ReleaseCallback& mailbox_callback)
: callback_(mailbox_callback),
« no previous file with comments | « cc/texture_mailbox.h ('k') | content/browser/browser_plugin/browser_plugin_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698