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

Unified Diff: cc/resources/tile_manager.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/tile_manager.h ('k') | cc/resources/tile_priority.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_manager.cc
diff --git a/cc/resources/tile_manager.cc b/cc/resources/tile_manager.cc
index 10f9179032c1ddc420a91516ed4c4dbec8690889..70634ac22effca29d17b10cb981d2bdbd710d479 100644
--- a/cc/resources/tile_manager.cc
+++ b/cc/resources/tile_manager.cc
@@ -5,6 +5,7 @@
#include "cc/resources/tile_manager.h"
#include <algorithm>
+#include <string>
#include "base/bind.h"
#include "base/debug/trace_event.h"
@@ -649,8 +650,8 @@ void TileManager::DispatchMoreTasks() {
// need to process those tiles first before we start to handle the tiles
// in the need_to_be_rasterized queue. Note that solid/transparent tiles
// will not be put into the decoding list.
- for(TileList::iterator it = tiles_with_image_decoding_tasks_.begin();
- it != tiles_with_image_decoding_tasks_.end(); ) {
+ for (TileList::iterator it = tiles_with_image_decoding_tasks_.begin();
+ it != tiles_with_image_decoding_tasks_.end(); ) {
ManagedTileState& managed_tile_state = (*it)->managed_state();
DispatchImageDecodeTasksForTile(*it);
if (managed_tile_state.pending_pixel_refs.empty()) {
@@ -1055,7 +1056,7 @@ void TileManager::RecordSolidColorPredictorResults(
if (SkColorGetA(current_color) != 0)
is_transparent = false;
- if(!is_actually_solid && !is_transparent)
+ if (!is_actually_solid && !is_transparent)
break;
}
« no previous file with comments | « cc/resources/tile_manager.h ('k') | cc/resources/tile_priority.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698