Index: third_party/WebKit/Source/core/layout/ng/ng_text.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/NGText.cpp b/third_party/WebKit/Source/core/layout/ng/ng_text.cc |
similarity index 61% |
rename from third_party/WebKit/Source/core/layout/ng/NGText.cpp |
rename to third_party/WebKit/Source/core/layout/ng/ng_text.cc |
index 02af4b4d13c0013ea357e7e422b28c81f4da50dc..78a8bcce3f104ad78e0757c1a934422e260bf529 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/NGText.cpp |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_text.cc |
@@ -2,20 +2,16 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "core/layout/ng/NGText.h" |
+#include "core/layout/ng/ng_text.h" |
namespace blink { |
NGText::NGText(LayoutUnit inlineSize, LayoutUnit blockSize) |
- : m_inlineSize(inlineSize) |
- , m_blockSize(blockSize) |
-{ |
-} |
+ : m_inlineSize(inlineSize), m_blockSize(blockSize) {} |
-void NGText::setOffset(LayoutUnit inlineOffset, LayoutUnit blockOffset) |
-{ |
- m_inlineOffset = inlineOffset; |
- m_blockOffset = blockOffset; |
+void NGText::setOffset(LayoutUnit inlineOffset, LayoutUnit blockOffset) { |
+ m_inlineOffset = inlineOffset; |
+ m_blockOffset = blockOffset; |
} |
-} // namespace blink |
+} // namespace blink |