Index: Source/platform/text/BidiResolver.h |
diff --git a/Source/platform/text/BidiResolver.h b/Source/platform/text/BidiResolver.h |
index fbc80cb35a508ea71a3a7c4024350d957fa4471d..d22b320ae36d8f3a42c83611ed8cb3e46f53c198 100644 |
--- a/Source/platform/text/BidiResolver.h |
+++ b/Source/platform/text/BidiResolver.h |
@@ -70,10 +70,16 @@ public: |
startIgnoringSpaces(midpoint); |
} |
+ void ensureLineBoxForRenderer(RenderObject* renderer) |
+ { |
+ Iterator midpoint(0, renderer, 0); |
+ startIgnoringSpaces(midpoint); |
+ stopIgnoringSpaces(midpoint); |
+ } |
+ |
// Adding a pair of midpoints before a character will split it out into a new line box. |
void ensureCharacterGetsLineBox(Iterator& textParagraphSeparator) |
{ |
- Iterator midpoint(0, textParagraphSeparator.object(), textParagraphSeparator.offset()); |
rhogan
2014/05/27 21:40:04
This is a redundant line of code I noticed when ad
|
startIgnoringSpaces(Iterator(0, textParagraphSeparator.object(), textParagraphSeparator.offset() - 1)); |
stopIgnoringSpaces(Iterator(0, textParagraphSeparator.object(), textParagraphSeparator.offset())); |
} |