| Index: third_party/WebKit/Source/core/layout/ng/ng_fragment.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment.h b/third_party/WebKit/Source/core/layout/ng/ng_fragment.h
|
| index e1fdb9f7ec7f5594b4e84549f0792ace706752a9..fd44298f0369ba1fd390c781d1377c13c652957a 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_fragment.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment.h
|
| @@ -20,6 +20,10 @@ class CORE_EXPORT NGFragment {
|
| STACK_ALLOCATED();
|
|
|
| public:
|
| + NGFragment(NGWritingMode writing_mode,
|
| + const NGPhysicalFragment* physical_fragment)
|
| + : physical_fragment_(physical_fragment), writing_mode_(writing_mode) {}
|
| +
|
| NGWritingMode WritingMode() const {
|
| return static_cast<NGWritingMode>(writing_mode_);
|
| }
|
| @@ -39,10 +43,6 @@ class CORE_EXPORT NGFragment {
|
| NGPhysicalFragment::NGFragmentType Type() const;
|
|
|
| protected:
|
| - NGFragment(NGWritingMode writing_mode,
|
| - const NGPhysicalFragment* physical_fragment)
|
| - : physical_fragment_(physical_fragment), writing_mode_(writing_mode) {}
|
| -
|
| const NGPhysicalFragment* physical_fragment_;
|
|
|
| unsigned writing_mode_ : 3;
|
|
|