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

Unified Diff: cc/debug/overdraw_metrics.cc

Issue 12912010: cc: Convert non-const reference arguments to pointers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ui/compositor 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/base/scoped_ptr_algorithm.h ('k') | cc/layers/picture_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/overdraw_metrics.cc
diff --git a/cc/debug/overdraw_metrics.cc b/cc/debug/overdraw_metrics.cc
index b8a382cc40246a8f36d5702a8177c8f3817c11ee..c9b496b4f89ec1fe27c5b21af357183bb064722f 100644
--- a/cc/debug/overdraw_metrics.cc
+++ b/cc/debug/overdraw_metrics.cc
@@ -51,7 +51,7 @@ static inline float AreaOfMappedQuad(const gfx::Transform& transform,
MathUtil::MapClippedQuad(transform,
quad,
clipped_quad,
- num_vertices_in_clipped_quad);
+ &num_vertices_in_clipped_quad);
return PolygonArea(clipped_quad, num_vertices_in_clipped_quad);
}
« no previous file with comments | « cc/base/scoped_ptr_algorithm.h ('k') | cc/layers/picture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698