Index: Source/core/accessibility/AXInlineTextBox.cpp |
diff --git a/Source/core/accessibility/AXInlineTextBox.cpp b/Source/core/accessibility/AXInlineTextBox.cpp |
index 37cd2ad87c8c9e52c2b775fef886551172ab449c..ff8120c8794c5ec0c757cf02c48e1f2550754050 100644 |
--- a/Source/core/accessibility/AXInlineTextBox.cpp |
+++ b/Source/core/accessibility/AXInlineTextBox.cpp |
@@ -98,7 +98,7 @@ void AXInlineTextBox::textCharacterOffsets(Vector<int>& offsets) const |
float widthSoFar = 0; |
for (unsigned i = 0; i < len; i++) { |
widthSoFar += widths[i]; |
- offsets[i] = LayoutUnit::fromFloatRound(widthSoFar); |
+ offsets[i] = lroundf(widthSoFar); |
} |
} |