Index: Source/core/rendering/RenderObject.cpp |
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
index 7731a94081e5247a31f901a9363d3a31f3367495..6c0e758f8b56b5263eb88fbc2b915da35f2d3ad8 100644 |
--- a/Source/core/rendering/RenderObject.cpp |
+++ b/Source/core/rendering/RenderObject.cpp |
@@ -1270,8 +1270,7 @@ FloatRect RenderObject::absoluteBoundingBoxRectForRange(const Range* range) |
if (!range || !range->startContainer()) |
return FloatRect(); |
- if (range->ownerDocument()) |
- range->ownerDocument()->updateLayout(); |
+ range->ownerDocument().updateLayout(); |
Vector<FloatQuad> quads; |
range->textQuads(quads); |