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

Unified Diff: Source/core/layout/LayoutRubyBase.h

Issue 1043643002: Switch line layout to LayoutUnit. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline Created 5 years, 7 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: Source/core/layout/LayoutRubyBase.h
diff --git a/Source/core/layout/LayoutRubyBase.h b/Source/core/layout/LayoutRubyBase.h
index 8edcae5b2258e8c22bed308daa7a87bad4fdfa5e..c6813b33b1e969debd39f507544c22e44dcf1b4d 100644
--- a/Source/core/layout/LayoutRubyBase.h
+++ b/Source/core/layout/LayoutRubyBase.h
@@ -53,7 +53,7 @@ private:
LayoutRubyBase();
virtual ETextAlign textAlignmentForLine(bool endsWithSoftBreak) const override;
- virtual void adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const override;
+ virtual void adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, LayoutUnit& logicalLeft, LayoutUnit& logicalWidth) const override;
void moveChildren(LayoutRubyBase* toBase, LayoutObject* beforeChild = 0);
void moveInlineChildren(LayoutRubyBase* toBase, LayoutObject* beforeChild = 0);

Powered by Google App Engine
This is Rietveld 408576698