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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h

Issue 2750153003: Move NGLayoutOpportunityTreeNode off Oilpan (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h b/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h
index dc06eca28c9205e637f1135349467647eba88349..8a8eeaed78602819ffb910ad9ea4a05c480ca5ec 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h
@@ -7,7 +7,6 @@
#include "core/CoreExport.h"
#include "core/layout/ng/ng_layout_opportunity_tree_node.h"
-#include "platform/heap/Handle.h"
#include "wtf/Optional.h"
#include "wtf/Vector.h"
#include "wtf/text/StringBuilder.h"
@@ -63,7 +62,7 @@ class CORE_EXPORT NGLayoutOpportunityIterator final {
NGLayoutOpportunities opportunities_;
NGLayoutOpportunities::const_iterator opportunity_iter_;
- Persistent<NGLayoutOpportunityTreeNode> opportunity_tree_root_;
+ std::unique_ptr<NGLayoutOpportunityTreeNode> opportunity_tree_root_;
NGLogicalOffset offset_;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698