summaryrefslogtreecommitdiff
path: root/libs/ui/Region.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ui/Region.cpp')
-rw-r--r--libs/ui/Region.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ui/Region.cpp b/libs/ui/Region.cpp
index 2e6b241a310d..b400a92d0632 100644
--- a/libs/ui/Region.cpp
+++ b/libs/ui/Region.cpp
@@ -87,6 +87,12 @@ Region& Region::operator = (const Region& rhs)
return *this;
}
+Region& Region::makeBoundsSelf()
+{
+ mStorage.clear();
+ return *this;
+}
+
void Region::clear()
{
mBounds.clear();