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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineBox.h

Issue 1625683003: [Line Layout API] Some harder SVGTextLayoutEngine changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@3_api_easy_svg
Patch Set: readd null check with new isNull() method on LineLayoutItem Created 4 years, 10 months 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/line/InlineBox.h
diff --git a/third_party/WebKit/Source/core/layout/line/InlineBox.h b/third_party/WebKit/Source/core/layout/line/InlineBox.h
index 6a8644d0d3542109f4dc34114feac72d42329356..3743ecb06a9a19f6657e50ec1e1c4f8dc647173c 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineBox.h
+++ b/third_party/WebKit/Source/core/layout/line/InlineBox.h
@@ -171,8 +171,6 @@ public:
InlineBox* nextLeafChildIgnoringLineBreak() const;
InlineBox* prevLeafChildIgnoringLineBreak() const;
- // TODO(pilgrim): This will be removed as part of the Line Layout API refactoring crbug.com/499321
- LayoutObject& layoutObject() const { return m_layoutObject; }
LineLayoutItem lineLayoutItem() const { return LineLayoutItem(&m_layoutObject); }
InlineFlowBox* parent() const
@@ -426,6 +424,8 @@ protected:
LayoutUnit m_logicalWidth;
private:
+ LayoutObject& layoutObject() const { return m_layoutObject; }
+
InlineBoxBitfields m_bitfields;
#if ENABLE(ASSERT)

Powered by Google App Engine
This is Rietveld 408576698