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()) |