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

Unified Diff: cc/region.h

Issue 11368156: cc: Expose clear and swap on Region (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 8 years, 1 month 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/occlusion_tracker.cc ('k') | cc/region.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/region.h
diff --git a/cc/region.h b/cc/region.h
index 49ad5f35ecd76511617d9ce1f5a00cda9b372a55..00e2bd1ddc031690d8210c9a8aa51653b8961599 100644
--- a/cc/region.h
+++ b/cc/region.h
@@ -24,6 +24,8 @@ class CC_EXPORT Region {
const Region& operator=(gfx::Rect rect);
const Region& operator=(const Region& region);
+ void Swap(Region& region);
+ void Clear();
bool IsEmpty() const;
bool Contains(gfx::Point point) const;
« no previous file with comments | « cc/occlusion_tracker.cc ('k') | cc/region.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698