Index: third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc |
index 291a8f7fd34822c58207f163321f9424255dd017..434d0b2f48b3e45c1361eccb2112d22258927f67 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc |
@@ -29,4 +29,9 @@ void NGPhysicalFragment::destroy() const { |
delete static_cast<const NGPhysicalBoxFragment*>(this); |
} |
+const ComputedStyle& NGPhysicalFragment::Style() const { |
+ DCHECK(layout_object_); |
+ return layout_object_->styleRef(); |
+} |
+ |
} // namespace blink |