Index: webkit/port/bindings/v8/JSXPathNSResolver.cpp |
diff --git a/webkit/port/bindings/v8/JSXPathNSResolver.cpp b/webkit/port/bindings/v8/JSXPathNSResolver.cpp |
index 2fb2849c5ddb0eb004aa48f9cc4534834c4d506b..b1ede2e5d3ece7cbce4d5309abd264830ae1bd95 100644 |
--- a/webkit/port/bindings/v8/JSXPathNSResolver.cpp |
+++ b/webkit/port/bindings/v8/JSXPathNSResolver.cpp |
@@ -58,7 +58,7 @@ String JSXPathNSResolver::lookupNamespaceURI(const String& prefix) { |
} |
if (lookupNamespaceURIFunc.IsEmpty() && !m_resolver->IsFunction()) { |
- Frame* frame = V8Proxy::retrieveActiveFrame(); |
+ Frame* frame = V8Proxy::retrieveFrameForEnteredContext(); |
log_info(frame, "XPathNSResolver does not have a lookupNamespaceURI method.", String()); |
return String(); |
} |