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

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

Issue 1640173005: [Line Layout API] Convert another RootInlineBox use of layoutObject() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2_RootInlineBox1
Patch Set: without dependency patchset Created 4 years, 11 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 c52995b60fe32a3158bc57e78bb54453bb1fe328..26060cb2dd845e586b83d53a876275a22cde285b 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineBox.h
+++ b/third_party/WebKit/Source/core/layout/line/InlineBox.h
@@ -54,12 +54,12 @@ public:
{
}
- InlineBox(LayoutObject& obj, LayoutPoint topLeft, LayoutUnit logicalWidth, bool firstLine, bool constructed,
+ InlineBox(InlineBox* inlineBoxForLayoutObject, LayoutPoint topLeft, LayoutUnit logicalWidth, bool firstLine, bool constructed,
bool dirty, bool extracted, bool isHorizontal, InlineBox* next, InlineBox* prev, InlineFlowBox* parent)
: m_next(next)
, m_prev(prev)
, m_parent(parent)
- , m_layoutObject(obj)
+ , m_layoutObject(inlineBoxForLayoutObject->layoutObject())
, m_topLeft(topLeft)
, m_logicalWidth(logicalWidth)
, m_bitfields(firstLine, constructed, dirty, extracted, isHorizontal)
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/EllipsisBox.h ('k') | third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698