Index: src/utils/SkBitSet.cpp |
diff --git a/src/utils/SkBitSet.cpp b/src/utils/SkBitSet.cpp |
index 7d03dfc0679e4016a69fd6801ce02af407bdec61..0a1ecacf8ab2583074d1fe72afaafcd60a51572e 100755 |
--- a/src/utils/SkBitSet.cpp |
+++ b/src/utils/SkBitSet.cpp |
@@ -21,6 +21,14 @@ SkBitSet::SkBitSet(const SkBitSet& source) |
*this = source; |
} |
+SkBitSet::SkBitSet(SkBitSet&& source) |
+ : fBitData(source.fBitData.release()) |
+ , fDwordCount(source.fDwordCount) |
+ , fBitCount(source.fBitCount) { |
+ source.fDwordCount = 0; |
+ source.fBitCount = 0; |
+} |
+ |
SkBitSet& SkBitSet::operator=(const SkBitSet& rhs) { |
if (this == &rhs) { |
return *this; |