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

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

Issue 13051003: cpplint.py pass on cc/(base|debug|quads|resources)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix prioritized_resource_unittest 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/resources/caching_bitmap_content_layer_updater.cc ('k') | cc/resources/layer_quad.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 "cc/resources/image_layer_updater.h" 5 #include "cc/resources/image_layer_updater.h"
6 #include "cc/resources/prioritized_resource.h" 6 #include "cc/resources/prioritized_resource.h"
7 #include "cc/resources/resource_update_queue.h" 7 #include "cc/resources/resource_update_queue.h"
8 8
9 namespace cc { 9 namespace cc {
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 gfx::Vector2d(clipped_source_rect.origin() - source_rect.origin()); 50 gfx::Vector2d(clipped_source_rect.origin() - source_rect.origin());
51 51
52 ResourceUpdate upload = ResourceUpdate::Create( 52 ResourceUpdate upload = ResourceUpdate::Create(
53 texture, &bitmap_, image_rect, clipped_source_rect, clipped_dest_offset); 53 texture, &bitmap_, image_rect, clipped_source_rect, clipped_dest_offset);
54 if (partial_update) 54 if (partial_update)
55 queue->AppendPartialUpload(upload); 55 queue->AppendPartialUpload(upload);
56 else 56 else
57 queue->AppendFullUpload(upload); 57 queue->AppendFullUpload(upload);
58 } 58 }
59 59
60 } 60 } // namespace cc
OLDNEW
« no previous file with comments | « cc/resources/caching_bitmap_content_layer_updater.cc ('k') | cc/resources/layer_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698