Index: Source/core/rendering/InlineIterator.h |
=================================================================== |
--- Source/core/rendering/InlineIterator.h (revision 157784) |
+++ Source/core/rendering/InlineIterator.h (working copy) |
@@ -414,14 +414,11 @@ |
return object->isRenderInline() && isIsolated(object->style()->unicodeBidi()); |
} |
-static inline RenderObject* containingIsolate(RenderObject* object, RenderObject* root) |
+static inline RenderObject* highestContainingIsolateWithinRoot(RenderObject* object, RenderObject* root) |
{ |
ASSERT(object); |
RenderObject* containingIsolateObj = 0; |
while (object && object != root) { |
- if (containingIsolateObj && !isIsolatedInline(object)) |
- break; |
- |
if (isIsolatedInline(object)) |
containingIsolateObj = object; |