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

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

Issue 2234833003: [LayoutNG] Add base class for NGFragment and NGText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ng_fragment_base.cc to gypi 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_fragment.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment.cc b/third_party/WebKit/Source/core/layout/ng/ng_fragment.cc
index 174945c7de023a67bd5368229ab30ae144bda9ee..4085e380af9aea6c8746769477c7eb5125ff9ab5 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment.cc
@@ -4,24 +4,4 @@
#include "core/layout/ng/ng_fragment.h"
-namespace blink {
-
-NGFragment::NGFragment(LayoutUnit inlineSize,
- LayoutUnit blockSize,
- LayoutUnit inlineOverflow,
- LayoutUnit blockOverflow)
- : m_inlineSize(inlineSize),
- m_blockSize(blockSize),
- m_inlineOverflow(inlineOverflow),
- m_blockOverflow(blockOverflow) {}
-
-void NGFragment::setOffset(LayoutUnit inlineOffset, LayoutUnit blockOffset) {
- m_inlineOffset = inlineOffset;
- m_blockOffset = blockOffset;
-}
-
-DEFINE_TRACE(NGFragment) {
- visitor->trace(m_children);
-}
-
-} // namespace blink
+namespace blink {} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_fragment.h ('k') | third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698