Index: Source/bindings/v8/ScriptController.cpp |
diff --git a/Source/bindings/v8/ScriptController.cpp b/Source/bindings/v8/ScriptController.cpp |
index a7b4ad160575ace052498de4f5417255a654f51e..be7c408f6e688b7f6ef012f578cd870c7e2a201e 100644 |
--- a/Source/bindings/v8/ScriptController.cpp |
+++ b/Source/bindings/v8/ScriptController.cpp |
@@ -516,7 +516,7 @@ bool ScriptController::executeScriptIfJavaScriptURL(const KURL& url) |
// We need to hold onto the LocalFrame here because executing script can |
// destroy the frame. |
RefPtr<LocalFrame> protector(m_frame); |
- RefPtr<Document> ownerDocument(m_frame->document()); |
+ RefPtrWillBeRawPtr<Document> ownerDocument(m_frame->document()); |
const int javascriptSchemeLength = sizeof("javascript:") - 1; |