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

Unified Diff: Source/core/layout/api/LineLayoutInline.cpp

Issue 1164933006: Create LineLayout api (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: all line API implementations now in headers Created 5 years, 6 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: 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

Powered by Google App Engine
This is Rietveld 408576698