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

Side by Side Diff: cc/resources/managed_tile_state.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/managed_memory_policy.cc ('k') | cc/resources/memory_history.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/managed_tile_state.h" 5 #include "cc/resources/managed_tile_state.h"
6 6
7 #include <limits>
8
7 #include "cc/base/math_util.h" 9 #include "cc/base/math_util.h"
8 10
9 namespace cc { 11 namespace cc {
10 12
11 ManagedTileState::ManagedTileState() 13 ManagedTileState::ManagedTileState()
12 : can_use_gpu_memory(false), 14 : can_use_gpu_memory(false),
13 need_to_gather_pixel_refs(true), 15 need_to_gather_pixel_refs(true),
14 raster_state(IDLE_STATE), 16 raster_state(IDLE_STATE),
15 picture_pile_analyzed(false), 17 picture_pile_analyzed(false),
16 gpu_memmgr_stats_bin(NEVER_BIN), 18 gpu_memmgr_stats_bin(NEVER_BIN),
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 state->SetBoolean("is_picture_pile_analyzed", picture_pile_analyzed); 76 state->SetBoolean("is_picture_pile_analyzed", picture_pile_analyzed);
75 state->SetBoolean("is_cheap_to_raster", 77 state->SetBoolean("is_cheap_to_raster",
76 picture_pile_analysis.is_cheap_to_raster); 78 picture_pile_analysis.is_cheap_to_raster);
77 state->SetBoolean("is_transparent", picture_pile_analysis.is_transparent); 79 state->SetBoolean("is_transparent", picture_pile_analysis.is_transparent);
78 state->SetBoolean("is_solid_color", picture_pile_analysis.is_solid_color); 80 state->SetBoolean("is_solid_color", picture_pile_analysis.is_solid_color);
79 return state.PassAs<base::Value>(); 81 return state.PassAs<base::Value>();
80 } 82 }
81 83
82 } // namespace cc 84 } // namespace cc
83 85
OLDNEW
« no previous file with comments | « cc/resources/managed_memory_policy.cc ('k') | cc/resources/memory_history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698