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

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

Issue 1433253003: [Line Layout API] Convert AbstractInlineTextBox to new line layout API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add constructors so we can assign nullptr to LineLayoutItem descendants 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/LineLayoutTextCombine.h
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutTextCombine.h b/third_party/WebKit/Source/core/layout/api/LineLayoutTextCombine.h
index 84d775615531586e218cf15f1d26e8585e676cdc..b7968b821b22bff0da531396bf4fbd6ed12c4b72 100644
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutTextCombine.h
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutTextCombine.h
@@ -23,6 +23,8 @@ public:
ASSERT(!item || item.isCombineText());
}
+ LineLayoutTextCombine(std::nullptr_t) : LineLayoutText(nullptr) { }
+
LineLayoutTextCombine() { }
bool isCombined() const

Powered by Google App Engine
This is Rietveld 408576698