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

Unified Diff: third_party/WebKit/Source/core/layout/api/LineLayoutBoxModel.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/LineLayoutBoxModel.h
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutBoxModel.h b/third_party/WebKit/Source/core/layout/api/LineLayoutBoxModel.h
index b579df4b32ebd7b8ed49ebef5e521df2c2aea303..775fa68db384d9f9045b767f172b72f2b2d309f0 100644
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutBoxModel.h
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutBoxModel.h
@@ -26,6 +26,8 @@ public:
ASSERT(!item || item.isBoxModelObject());
}
+ explicit LineLayoutBoxModel(std::nullptr_t) : LineLayoutItem(nullptr) { }
+
LineLayoutBoxModel() { }
PaintLayer* layer() const

Powered by Google App Engine
This is Rietveld 408576698