| Index: content/browser/intents/intent_injector.cc
|
| ===================================================================
|
| --- content/browser/intents/intent_injector.cc (revision 115777)
|
| +++ content/browser/intents/intent_injector.cc (working copy)
|
| @@ -68,13 +68,13 @@
|
| if (source_intent_.get() == NULL ||
|
| !CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnableWebIntents) ||
|
| - tab_contents()->GetRenderViewHost() == NULL) {
|
| + web_contents()->GetRenderViewHost() == NULL) {
|
| return;
|
| }
|
|
|
| // Send intent data through to renderer.
|
| - tab_contents()->GetRenderViewHost()->Send(new IntentsMsg_SetWebIntentData(
|
| - tab_contents()->GetRenderViewHost()->routing_id(),
|
| + web_contents()->GetRenderViewHost()->Send(new IntentsMsg_SetWebIntentData(
|
| + web_contents()->GetRenderViewHost()->routing_id(),
|
| *(source_intent_.get())));
|
| source_intent_.reset(NULL);
|
| }
|
|
|