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

Unified Diff: cc/transferable_resource.cc

Issue 12378053: Move Mailbox from cc to gpu, and its traits to gpu/ipc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ios hate Created 7 years, 10 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/transferable_resource.h ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/transferable_resource.cc
diff --git a/cc/transferable_resource.cc b/cc/transferable_resource.cc
index 886b4423ec09a617e126db31fc4784b6e4162cd5..ce26434bca4a4c889509590a1d56c62970d9141e 100644
--- a/cc/transferable_resource.cc
+++ b/cc/transferable_resource.cc
@@ -7,23 +7,6 @@
namespace cc {
-Mailbox::Mailbox() {
- memset(name, 0, sizeof(name));
-}
-
-bool Mailbox::isZero() const {
- for (int i = 0; i < arraysize(name); ++i) {
- if (name[i])
- return false;
- }
- return true;
-}
-
-void Mailbox::setName(const int8* n) {
- DCHECK(isZero() || !memcmp(name, n, sizeof(name)));
- memcpy(name, n, sizeof(name));
-}
-
TransferableResource::TransferableResource()
: id(0),
sync_point(0),
« no previous file with comments | « cc/transferable_resource.h ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698