Index: content/browser/tab_contents/tab_contents.cc |
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc |
index ea19f2090366690848463ef51f1207066999af0a..7a3d8b80af13fa00d4e51a28ac3c3dc73da643b9 100644 |
--- a/content/browser/tab_contents/tab_contents.cc |
+++ b/content/browser/tab_contents/tab_contents.cc |
@@ -20,6 +20,7 @@ |
#include "content/browser/download/download_stats.h" |
#include "content/browser/host_zoom_map.h" |
#include "content/browser/in_process_webkit/session_storage_namespace.h" |
+#include "content/browser/intents/intents_host_impl.h" |
#include "content/browser/load_from_memory_cache_details.h" |
#include "content/browser/load_notification_details.h" |
#include "content/browser/renderer_host/render_process_host_impl.h" |
@@ -913,7 +914,8 @@ void TabContents::OnRegisterIntentService(const string16& action, |
void TabContents::OnWebIntentDispatch(const IPC::Message& message, |
const webkit_glue::WebIntentData& intent, |
int intent_id) { |
- delegate()->WebIntentDispatch(this, message.routing_id(), intent, intent_id); |
+ IntentsHostImpl* intents_host = new IntentsHostImpl(this, intent, intent_id); |
+ delegate()->WebIntentDispatch(this, intents_host); |
} |
void TabContents::OnDidStartProvisionalLoadForFrame(int64 frame_id, |