Lines Matching defs:other
51 SkBitmap::SkBitmap(SkBitmap&& other)
52 : fPixelRef (std::move(other.fPixelRef))
53 , fPixmap (std::move(other.fPixmap))
54 , fMips (std::move(other.fMips))
56 SkASSERT(!other.fPixelRef);
57 other.fPixmap.reset();
72 SkBitmap& SkBitmap::operator=(SkBitmap&& other) {
73 if (this != &other) {
74 fPixelRef = std::move(other.fPixelRef);
75 fPixmap = std::move(other.fPixmap);
76 fMips = std::move(other.fMips);
77 SkASSERT(!other.fPixelRef);
78 other.fPixmap.reset();
83 void SkBitmap::swap(SkBitmap& other) {
85 swap(*this, other);
356 so that we can freely assign memory allocated by one class to the other.