| Index: third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc
|
| index e75e3ca158fcbd8fb7668cea5aef5c1ba2d7dc99..2e7ead087095c8acb6dffe1a2ba357fca206ead6 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc
|
| @@ -198,8 +198,10 @@ RefPtr<NGLayoutResult> NGFragmentBuilder::ToBoxFragment() {
|
|
|
| for (auto& positioned_float : positioned_floats_) {
|
| NGPhysicalFragment* floating_fragment = positioned_float.fragment.Get();
|
| - floating_fragment->SetOffset(positioned_float.offset.ConvertToPhysical(
|
| - writing_mode_, direction_, physical_size, floating_fragment->Size()));
|
| + floating_fragment->SetOffset(
|
| + positioned_float.logical_offset.ConvertToPhysical(
|
| + writing_mode_, direction_, physical_size,
|
| + floating_fragment->Size()));
|
| }
|
|
|
| RefPtr<NGPhysicalBoxFragment> fragment = AdoptRef(new NGPhysicalBoxFragment(
|
|
|