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

Unified Diff: cc/resources/transferable_resource.cc

Issue 1535833002: Delete CC. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-5
Patch Set: rebase Created 4 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/resources/transferable_resource.h ('k') | cc/scheduler/begin_frame_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/transferable_resource.cc
diff --git a/cc/resources/transferable_resource.cc b/cc/resources/transferable_resource.cc
deleted file mode 100644
index 558d6e8772896157875d04cf4b885c84d6736468..0000000000000000000000000000000000000000
--- a/cc/resources/transferable_resource.cc
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "cc/resources/returned_resource.h"
-#include "cc/resources/transferable_resource.h"
-
-namespace cc {
-
-TransferableResource::TransferableResource()
- : id(0),
- format(RGBA_8888),
- filter(0),
- is_repeated(false),
- is_software(false),
- allow_overlay(false) {
-}
-
-TransferableResource::~TransferableResource() {
-}
-
-ReturnedResource TransferableResource::ToReturnedResource() const {
- ReturnedResource returned;
- returned.id = id;
- returned.sync_point = mailbox_holder.sync_point;
- returned.count = 1;
- return returned;
-}
-
-// static
-void TransferableResource::ReturnResources(
- const TransferableResourceArray& input,
- ReturnedResourceArray* output) {
- for (TransferableResourceArray::const_iterator it = input.begin();
- it != input.end(); ++it)
- output->push_back(it->ToReturnedResource());
-}
-
-} // namespace cc
« no previous file with comments | « cc/resources/transferable_resource.h ('k') | cc/scheduler/begin_frame_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698