Index: third_party/WebKit/Source/core/layout/ng/ng_floating_object.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_floating_object.h b/third_party/WebKit/Source/core/layout/ng/ng_floating_object.h |
index c32a93152c63648b99036ce25c3981c33d749875..68a84315fb779c6785dd21e6f4895525e199adef 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_floating_object.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_floating_object.h |
@@ -20,7 +20,7 @@ class NGPhysicalFragment; |
struct CORE_EXPORT NGFloatingObject |
: public GarbageCollected<NGFloatingObject> { |
NGFloatingObject(NGPhysicalFragment* fragment, |
- const NGConstraintSpace* space, |
+ NGConstraintSpace* space, |
NGBlockNode* node, |
const ComputedStyle& style, |
const NGBoxStrut& margins) |
@@ -32,7 +32,8 @@ struct CORE_EXPORT NGFloatingObject |
} |
Member<NGPhysicalFragment> fragment; |
- Member<const NGConstraintSpace> space; |
+ // TODO(glebl): Constraint space should be const here. |
+ Member<NGConstraintSpace> space; |
Member<NGBlockNode> node; |
NGExclusion::Type exclusion_type; |
EClear clear_type; |