Index: third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.h b/third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.h |
index fd0a0899343fd16101b3caffbdfced618d9238d2..be10d87903bcb93a818bbd1364026693371c8a22 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.h |
@@ -25,9 +25,9 @@ class CORE_EXPORT NGLayoutInputNode |
public: |
enum NGLayoutInputNodeType { kLegacyBlock = 0, kLegacyInline = 1 }; |
- bool IsInline() { return type_ == kLegacyInline; } |
+ bool IsInline() const { return type_ == kLegacyInline; } |
- bool IsBlock() { return type_ == kLegacyBlock; } |
+ bool IsBlock() const { return type_ == kLegacyBlock; } |
virtual ~NGLayoutInputNode(){}; |