Index: Source/WebCore/editing/VisiblePosition.cpp |
=================================================================== |
--- Source/WebCore/editing/VisiblePosition.cpp (revision 96946) |
+++ Source/WebCore/editing/VisiblePosition.cpp (working copy) |
@@ -484,11 +484,11 @@ |
if (position.isNull()) |
return Position(); |
- Node* node = position.containerNode(); |
- |
ASSERT(position.document()); |
position.document()->updateLayoutIgnorePendingStylesheets(); |
+ Node* node = position.containerNode(); |
+ |
Position candidate = position.upstream(); |
if (candidate.isCandidate()) |
return candidate; |