Index: cc/base/invalidation_region.cc |
diff --git a/cc/base/invalidation_region.cc b/cc/base/invalidation_region.cc |
index 6a8f97f78fe14e7cdc40b63d62549cea305e7197..5fbca8d1d180d71c027505595b65a0c46cfa9ff7 100644 |
--- a/cc/base/invalidation_region.cc |
+++ b/cc/base/invalidation_region.cc |
@@ -26,7 +26,7 @@ void InvalidationRegion::Clear() { |
region_.Clear(); |
} |
-void InvalidationRegion::Union(gfx::Rect rect) { |
+void InvalidationRegion::Union(const gfx::Rect& rect) { |
region_.Union(rect); |
SimplifyIfNeeded(); |
} |