| Index: third_party/WebKit/Source/core/layout/ng/NGText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/NGFragment.cpp b/third_party/WebKit/Source/core/layout/ng/NGText.cpp
|
| similarity index 65%
|
| copy from third_party/WebKit/Source/core/layout/ng/NGFragment.cpp
|
| copy to third_party/WebKit/Source/core/layout/ng/NGText.cpp
|
| index 22d1d017e23539586331806e854c1d1ef0becf12..02af4b4d13c0013ea357e7e422b28c81f4da50dc 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/NGFragment.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/ng/NGText.cpp
|
| @@ -2,17 +2,17 @@
|
| // 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"
|
| +#include "core/layout/ng/NGText.h"
|
|
|
| namespace blink {
|
|
|
| -NGFragment::NGFragment(LayoutUnit inlineSize, LayoutUnit blockSize)
|
| +NGText::NGText(LayoutUnit inlineSize, LayoutUnit blockSize)
|
| : m_inlineSize(inlineSize)
|
| , m_blockSize(blockSize)
|
| {
|
| }
|
|
|
| -void NGFragment::setOffset(LayoutUnit inlineOffset, LayoutUnit blockOffset)
|
| +void NGText::setOffset(LayoutUnit inlineOffset, LayoutUnit blockOffset)
|
| {
|
| m_inlineOffset = inlineOffset;
|
| m_blockOffset = blockOffset;
|
|
|