Index: Source/core/xml/XMLErrors.cpp |
diff --git a/Source/core/xml/XMLErrors.cpp b/Source/core/xml/XMLErrors.cpp |
index 11936242c65d733b20361807b000aff1c0d9ba8f..3cf9bd0d9f88d0c4ebae3a094295b30d27a77ab4 100644 |
--- a/Source/core/xml/XMLErrors.cpp |
+++ b/Source/core/xml/XMLErrors.cpp |
@@ -156,7 +156,7 @@ void XMLErrors::insertErrorMessageBlock() |
documentElement->parserAppendChild(reportElement); |
// FIXME: Why do we need to call this manually? |
- m_document->updateStyleIfNeeded(); |
+ m_document->updateRenderTreeIfNeeded(); |
} |
} // namespace WebCore |