Index: Source/core/layout/api/LineLayoutInline.cpp |
diff --git a/Source/core/layout/api/LineLayoutInline.cpp b/Source/core/layout/api/LineLayoutInline.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..333946c71c3997caa5da9ec69a23952610ed0024 |
--- /dev/null |
+++ b/Source/core/layout/api/LineLayoutInline.cpp |
@@ -0,0 +1,21 @@ |
+// Copyright 2015 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 "config.h" |
+#include "core/layout/api/LineLayoutInline.h" |
+ |
+namespace blink { |
+ |
+LineLayoutInline::LineLayoutInline(LayoutInline* layoutInline) |
esprehn
2015/06/17 20:29:52
ditto
|
+ : LineLayoutItem(layoutInline) |
+{ |
+} |
+ |
+LineLayoutInline::LineLayoutInline(const LineLayoutItem& item) |
+ : LineLayoutItem(item) |
+{ |
+ ASSERT(!item.layoutObject() || item.layoutObject()->isInline()); |
+} |
+ |
+} // namespace blink |