Index: content/public/browser/web_contents_delegate.cc |
diff --git a/content/public/browser/web_contents_delegate.cc b/content/public/browser/web_contents_delegate.cc |
index 2a9bc4f7c939e4f1487d2e5f80bbfd8a3380fc9f..4e5dbe0395f825b1e8f85489f6e8449645c0335c 100644 |
--- a/content/public/browser/web_contents_delegate.cc |
+++ b/content/public/browser/web_contents_delegate.cc |
@@ -146,7 +146,8 @@ class JavaScriptDialogCreatorStub : public JavaScriptDialogCreator { |
JavaScriptDialogDelegate* delegate, |
const string16& message_text, |
IPC::Message* reply_message) OVERRIDE { |
- delegate->OnDialogClosed(reply_message, true, string16()); |
+ // TODO(creis): We must know which RVH to reply to. |
+ delegate->OnDialogClosed(NULL, reply_message, true, string16()); |
} |
virtual void ResetJavaScriptState( |