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

Unified Diff: third_party/WebKit/Source/core/layout/api/LineLayoutRubyRun.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/LineLayoutRubyRun.h
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutRubyRun.h b/third_party/WebKit/Source/core/layout/api/LineLayoutRubyRun.h
index 777a745c9c7350cb34c16f399f9c8a7ea56779c3..1fdfab955648a36ba753dcd1ff0ccd8b4aaf6c8f 100644
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutRubyRun.h
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutRubyRun.h
@@ -23,6 +23,8 @@ public:
ASSERT(!item || item.isRubyRun());
}
+ explicit LineLayoutRubyRun(std::nullptr_t) : LineLayoutBlockFlow(nullptr) { }
+
LineLayoutRubyRun() { }
void getOverhang(bool firstLine, LineLayoutItem startLayoutItem, LineLayoutItem endLayoutItem, int& startOverhang, int& endOverhang) const

Powered by Google App Engine
This is Rietveld 408576698