| Index: third_party/WebKit/Source/core/layout/ng/NGFragment.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/NGFragment.cpp b/third_party/WebKit/Source/core/layout/ng/NGFragment.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..22d1d017e23539586331806e854c1d1ef0becf12
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/layout/ng/NGFragment.cpp
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "core/layout/ng/NGFragment.h"
|
| +
|
| +namespace blink {
|
| +
|
| +NGFragment::NGFragment(LayoutUnit inlineSize, LayoutUnit blockSize)
|
| + : m_inlineSize(inlineSize)
|
| + , m_blockSize(blockSize)
|
| +{
|
| +}
|
| +
|
| +void NGFragment::setOffset(LayoutUnit inlineOffset, LayoutUnit blockOffset)
|
| +{
|
| + m_inlineOffset = inlineOffset;
|
| + m_blockOffset = blockOffset;
|
| +}
|
| +
|
| +} // namespace blink
|
|
|