Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_text.cc

Issue 2228843003: [LayoutNG] Change core/layout/ng to Chromium style and rename files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_text.h ('k') | third_party/WebKit/Source/core/layout/ng/ng_units.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698