Index: Source/core/dom/StyleEngine.cpp |
diff --git a/Source/core/dom/StyleEngine.cpp b/Source/core/dom/StyleEngine.cpp |
index 756a62dbcdb46ccd860b32c91732547d01449f5f..f2a0377dcca49f7868e305ba3179ab13221cde43 100644 |
--- a/Source/core/dom/StyleEngine.cpp |
+++ b/Source/core/dom/StyleEngine.cpp |
@@ -319,7 +319,7 @@ void StyleEngine::addXSLStyleSheet(ProcessingInstruction* node, bool createdByPa |
if (createdByParser || !m_xslStyleSheet) { |
needToUpdate = !m_xslStyleSheet; |
} else { |
- unsigned position = m_xslStyleSheet->compareDocumentPositionInternal(node, Node::TreatShadowTreesAsDisconnected); |
+ unsigned position = m_xslStyleSheet->compareDocumentPosition(node, Node::TreatShadowTreesAsDisconnected); |
needToUpdate = position & Node::DOCUMENT_POSITION_FOLLOWING; |
} |