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

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

Issue 2921463004: [LayoutNG] PODify NGLayoutInputNode and sub-classes. (Closed)
Patch Set: new ng-bot expectations Created 3 years, 6 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/layout_ng_block_flow.h
diff --git a/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.h b/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.h
index 81260737f705be3a3033d3f8f3dd0ee42e550701..171b0f4afe69b39e57ff1ef8d1e3aee9066449f2 100644
--- a/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.h
+++ b/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.h
@@ -19,18 +19,17 @@ class CORE_EXPORT LayoutNGBlockFlow final : public LayoutBlockFlow {
~LayoutNGBlockFlow() override = default;
void UpdateBlockLayout(bool relayout_children) override;
- NGBlockNode* BoxForTesting() const { return box_.Get(); }
const char* GetName() const override { return "LayoutNGBlockFlow"; }
NGInlineNodeData& GetNGInlineNodeData() const;
void ResetNGInlineNodeData();
+ bool HasNGInlineNodeData() const { return ng_inline_node_data_.get(); }
private:
bool IsOfType(LayoutObjectType) const override;
std::unique_ptr<NGInlineNodeData> ng_inline_node_data_;
- Persistent<NGBlockNode> box_;
};
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutNGBlockFlow, IsLayoutNGBlockFlow());

Powered by Google App Engine
This is Rietveld 408576698