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

Unified Diff: Source/core/rendering/InlineBox.cpp

Issue 699683002: Continue with InlineBox float->LayoutUnit migration. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: Source/core/rendering/InlineBox.cpp
diff --git a/Source/core/rendering/InlineBox.cpp b/Source/core/rendering/InlineBox.cpp
index 362384ccf7319ac7b2fe91ba36eafbd33db59226..5afb83aa641d1dc9987e11dbc5c0770587d65b9e 100644
--- a/Source/core/rendering/InlineBox.cpp
+++ b/Source/core/rendering/InlineBox.cpp
@@ -111,7 +111,7 @@ void InlineBox::showBox(int printedCharacters) const
for (; printedCharacters < showTreeCharacterOffset; printedCharacters++)
fputc(' ', stderr);
fprintf(stderr, "\t%s %p {pos=%g,%g size=%g,%g} baseline=%i/%i\n",
- renderer().renderName(), &renderer(), x(), y(), width(), height(),
+ renderer().renderName(), &renderer(), WILL_BE_LAYOUT_UNIT_TO_FLOAT(x()), WILL_BE_LAYOUT_UNIT_TO_FLOAT(y()), WILL_BE_LAYOUT_UNIT_TO_FLOAT(width()), WILL_BE_LAYOUT_UNIT_TO_FLOAT(height()),
baselinePosition(AlphabeticBaseline),
baselinePosition(IdeographicBaseline));
}

Powered by Google App Engine
This is Rietveld 408576698