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

Unified Diff: third_party/WebKit/Source/core/layout/line/EllipsisBox.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/line/InlineBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/line/EllipsisBox.h
diff --git a/third_party/WebKit/Source/core/layout/line/EllipsisBox.h b/third_party/WebKit/Source/core/layout/line/EllipsisBox.h
index 40330fc03262926d01c897dd2b83e0a184f3d410..43d74bfdf06e66f5819b714d999a7ca0a8fbfa4f 100644
--- a/third_party/WebKit/Source/core/layout/line/EllipsisBox.h
+++ b/third_party/WebKit/Source/core/layout/line/EllipsisBox.h
@@ -30,9 +30,9 @@ class HitTestResult;
class EllipsisBox final : public InlineBox {
public:
- EllipsisBox(LayoutObject& obj, const AtomicString& ellipsisStr, InlineFlowBox* parent,
+ EllipsisBox(InlineBox* inlineBox, const AtomicString& ellipsisStr, InlineFlowBox* parent,
int width, int height, int x, int y, bool firstLine, bool isVertical)
- : InlineBox(obj, LayoutPoint(x, y), width, firstLine, true, false, false, isVertical, 0, 0, parent)
+ : InlineBox(inlineBox, LayoutPoint(x, y), width, firstLine, true, false, false, isVertical, 0, 0, parent)
, m_height(height)
, m_str(ellipsisStr)
, m_selectionState(SelectionNone)
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/line/InlineBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698