Index: cc/base/region.cc |
diff --git a/cc/base/region.cc b/cc/base/region.cc |
index 4b286ef357ea9ae95aaeb86863d60295c9517090..7d63345ca8880d829fb7aea9a1a5829bc276cac8 100644 |
--- a/cc/base/region.cc |
+++ b/cc/base/region.cc |
@@ -30,8 +30,8 @@ const Region& Region::operator=(const Region& region) { |
return *this; |
} |
-void Region::Swap(Region& region) { |
- region.skregion_.swap(skregion_); |
+void Region::Swap(Region* region) { |
+ region->skregion_.swap(skregion_); |
} |
void Region::Clear() { |