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

Unified Diff: cc/base/spiral_iterator.cc

Issue 2503303002: ps test.
Patch Set: rebase Created 4 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/base/spiral_iterator.h ('k') | cc/base/spiral_iterator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/spiral_iterator.cc
diff --git a/cc/base/spiral_iterator.cc b/cc/base/spiral_iterator.cc
index 7d7387bd55e1d5f9bde0a61134af06cf39cc8be7..21eeb53958c670bccd89e5d65a06209cd3d24665 100644
--- a/cc/base/spiral_iterator.cc
+++ b/cc/base/spiral_iterator.cc
@@ -41,6 +41,20 @@ SpiralIterator::SpiralIterator(const IndexRect& around_index_rect,
++(*this);
}
+SpiralIterator::SpiralIterator(const SpiralIterator::SpiralIterator& other) =
+ default;
+
+SpiralIterator::SpiralIterator(SpiralIterator::SpiralIterator&& other) =
+ default;
+
+SpiralIterator::~SpiralIterator() = default;
+
+SpiralIterator& SpiralIterator::operator=(
+ const SpiralIterator::SpiralIterator& other) = default;
+
+SpiralIterator& SpiralIterator::operator=(
+ SpiralIterator::SpiralIterator&& other) = default;
+
SpiralIterator::operator bool() const {
return index_x_ != -1 && index_y_ != -1;
}
« no previous file with comments | « cc/base/spiral_iterator.h ('k') | cc/base/spiral_iterator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698