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

Unified Diff: cc/base/region.h

Issue 185653013: [#8] Pass gfx::Point by const ref. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build errors on other platforms Created 6 years, 10 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 | « no previous file | cc/base/region.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/region.h
diff --git a/cc/base/region.h b/cc/base/region.h
index f3f5cb87ddb0554b2965f08101d90456d0df0407..06fe7312ff674896c4c6fd6329dbe624f5fcb366 100644
--- a/cc/base/region.h
+++ b/cc/base/region.h
@@ -35,7 +35,7 @@ class CC_EXPORT Region {
bool IsEmpty() const;
int GetRegionComplexity() const;
- bool Contains(gfx::Point point) const;
+ bool Contains(const gfx::Point& point) const;
bool Contains(const gfx::Rect& rect) const;
bool Contains(const Region& region) const;
« no previous file with comments | « no previous file | cc/base/region.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698