Index: Source/core/rendering/RenderBlockLineLayout.cpp |
=================================================================== |
--- Source/core/rendering/RenderBlockLineLayout.cpp (revision 157784) |
+++ Source/core/rendering/RenderBlockLineLayout.cpp (working copy) |
@@ -1272,7 +1272,8 @@ |
// tree to see which parent inline is the isolate. We could change enterIsolate |
// to take a RenderObject and do this logic there, but that would be a layering |
// violation for BidiResolver (which knows nothing about RenderObject). |
- RenderInline* isolatedInline = toRenderInline(containingIsolate(startObj, currentRoot)); |
+ RenderInline* isolatedInline = toRenderInline(highestContainingIsolateWithinRoot(startObj, currentRoot)); |
+ ASSERT(isolatedInline); |
InlineBidiResolver isolatedResolver; |
EUnicodeBidi unicodeBidi = isolatedInline->style()->unicodeBidi(); |