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

Unified Diff: third_party/WebKit/Source/core/layout/api/LineLayoutBox.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/LineLayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutBox.h b/third_party/WebKit/Source/core/layout/api/LineLayoutBox.h
index b9c624905c98faaac6139c9df4ce914508f1199d..3d53826437a7f7a5231bcb25ef222ff6fb21d05d 100644
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutBox.h
@@ -27,6 +27,8 @@ public:
ASSERT(!item || item.isBox());
}
+ explicit LineLayoutBox(std::nullptr_t) : LineLayoutBoxModel(nullptr) { }
+
LineLayoutBox() { }
LayoutPoint location() const

Powered by Google App Engine
This is Rietveld 408576698