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

Unified Diff: cc/base/spiral_iterator.cc

Issue 2067213002: cc: Implement tile iteration order based on pyramid sequence. [old] Base URL: https://chromium.googlesource.com/chromium/src.git@tiling_data_fix
Patch Set: rebase -> used for smoothness tests Created 3 years, 10 months 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..b54c21621983eff2c60b7a9fb32e619bf6f778d1 100644
--- a/cc/base/spiral_iterator.cc
+++ b/cc/base/spiral_iterator.cc
@@ -41,6 +41,17 @@ SpiralIterator::SpiralIterator(const IndexRect& around_index_rect,
++(*this);
}
+SpiralIterator::SpiralIterator(const SpiralIterator& other) = default;
+
+SpiralIterator::SpiralIterator(SpiralIterator&& other) = default;
+
+SpiralIterator::~SpiralIterator() = default;
+
+SpiralIterator& SpiralIterator::operator=(const SpiralIterator& other) =
+ default;
+
+SpiralIterator& SpiralIterator::operator=(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