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

Unified Diff: third_party/WebKit/Source/core/layout/api/LineLayoutInline.h

Issue 1460923003: [Line Layout API] Add nullptr constructors to all LineLayoutItem descendants (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add explicit to all new constructors Created 5 years, 1 month 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/api/LineLayoutInline.h
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutInline.h b/third_party/WebKit/Source/core/layout/api/LineLayoutInline.h
index fb3542902b2312ab0456f3d73d4494ff90f75bca..a0f28d423a5fcdc445baa0b67bf581903ec9bb35 100644
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutInline.h
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutInline.h
@@ -28,6 +28,8 @@ public:
ASSERT(!item || item.isLayoutInline());
}
+ explicit LineLayoutInline(std::nullptr_t) : LineLayoutBoxModel(nullptr) { }
+
LineLayoutInline() { }
LineLayoutItem firstChild() const

Powered by Google App Engine
This is Rietveld 408576698