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

Side by Side Diff: cc/resources/transferable_resource.cc

Issue 660333004: cc cleanup: Update paths to geometry headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « cc/resources/transferable_resource.h ('k') | cc/resources/ui_resource_bitmap.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/logging.h"
6 #include "cc/resources/returned_resource.h" 5 #include "cc/resources/returned_resource.h"
7 #include "cc/resources/transferable_resource.h" 6 #include "cc/resources/transferable_resource.h"
8 7
9 namespace cc { 8 namespace cc {
10 9
11 TransferableResource::TransferableResource() 10 TransferableResource::TransferableResource()
12 : id(0), 11 : id(0),
13 format(RGBA_8888), 12 format(RGBA_8888),
14 filter(0), 13 filter(0),
15 is_repeated(false), 14 is_repeated(false),
(...skipping 15 matching lines...) Expand all
31 // static 30 // static
32 void TransferableResource::ReturnResources( 31 void TransferableResource::ReturnResources(
33 const TransferableResourceArray& input, 32 const TransferableResourceArray& input,
34 ReturnedResourceArray* output) { 33 ReturnedResourceArray* output) {
35 for (TransferableResourceArray::const_iterator it = input.begin(); 34 for (TransferableResourceArray::const_iterator it = input.begin();
36 it != input.end(); ++it) 35 it != input.end(); ++it)
37 output->push_back(it->ToReturnedResource()); 36 output->push_back(it->ToReturnedResource());
38 } 37 }
39 38
40 } // namespace cc 39 } // namespace cc
OLDNEW
« no previous file with comments | « cc/resources/transferable_resource.h ('k') | cc/resources/ui_resource_bitmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698