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

Unified Diff: cc/trees/damage_tracker.cc

Issue 12965007: Fix cpplint errors in cc/(animation|input|layers|trees|test)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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/test/test_web_graphics_context_3d.cc ('k') | cc/trees/damage_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/damage_tracker.cc
diff --git a/cc/trees/damage_tracker.cc b/cc/trees/damage_tracker.cc
index 698f9643b290a509e0e3aa83df651e16cd8fe3f4..e8343e785a565f918a2ee011fd55d0dacc780e2d 100644
--- a/cc/trees/damage_tracker.cc
+++ b/cc/trees/damage_tracker.cc
@@ -4,6 +4,8 @@
#include "cc/trees/damage_tracker.h"
+#include <algorithm>
+
#include "cc/base/math_util.h"
#include "cc/layers/layer_impl.h"
#include "cc/layers/render_surface_impl.h"
@@ -239,7 +241,7 @@ gfx::RectF DamageTracker::TrackDamageFromLeftoverRects() {
static bool LayerNeedsToRedrawOntoItsTargetSurface(LayerImpl* layer) {
// If the layer does NOT own a surface but has SurfacePropertyChanged,
// this means that its target surface is affected and needs to be redrawn.
- // However, if the layer DOES own a surface, then the SurfacePropertyChanged
+ // However, if the layer DOES own a surface, then the SurfacePropertyChanged
// flag should not be used here, because that flag represents whether the
// layer's surface has changed.
if (layer->render_surface())
« no previous file with comments | « cc/test/test_web_graphics_context_3d.cc ('k') | cc/trees/damage_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698