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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_box_iterator.cc

Issue 2284983002: [layoutng] Implement state machine for async layout (Closed)
Patch Set: remove outdated todo Created 4 years, 4 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
Index: third_party/WebKit/Source/core/layout/ng/ng_box_iterator.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_box_iterator.cc b/third_party/WebKit/Source/core/layout/ng/ng_box_iterator.cc
deleted file mode 100644
index 3560086a8fe8e006a4023baa934666c11c137341..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/layout/ng/ng_box_iterator.cc
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "core/layout/ng/ng_box_iterator.h"
-#include "core/layout/ng/ng_box.h"
-
-namespace blink {
-
-NGBoxIterator::NGBoxIterator(NGBox box) : box_(box) {}
-
-NGBoxIterator::iterator& NGBoxIterator::iterator::operator=(
- const NGBoxIterator::iterator& otherValue) {
- box_ = otherValue.box_;
- return (*this);
-}
-
-NGBoxIterator::iterator& NGBoxIterator::iterator::operator++() {
- box_ = box_.nextSibling();
- return (*this);
-}
-
-bool NGBoxIterator::iterator::operator!=(const iterator& other) {
- return box_ != other.box_;
-}
-
-NGBox NGBoxIterator::iterator::operator*() {
- return box_;
-}
-
-NGBoxIterator::iterator NGBoxIterator::begin() const {
- return iterator(box_);
-}
-
-} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698