| Index: chrome/browser/intents/register_intent_handler_helper.cc
|
| diff --git a/chrome/browser/intents/register_intent_handler_helper.cc b/chrome/browser/intents/register_intent_handler_helper.cc
|
| index f142d91c5dc6379a3c11b6bfaf952d47bf51ab30..371b670bed140396e743c9587486ff97b6105afb 100644
|
| --- a/chrome/browser/intents/register_intent_handler_helper.cc
|
| +++ b/chrome/browser/intents/register_intent_handler_helper.cc
|
| @@ -23,14 +23,14 @@ void Browser::RegisterIntentHandlerHelper(WebContents* tab,
|
| const string16& href,
|
| const string16& title,
|
| const string16& disposition) {
|
| - if (!web_intents::IsWebIntentsEnabled())
|
| - return;
|
| -
|
| TabContentsWrapper* tcw = TabContentsWrapper::GetCurrentWrapperForContents(
|
| tab);
|
| if (!tcw || tcw->profile()->IsOffTheRecord())
|
| return;
|
|
|
| + if (!web_intents::IsWebIntentsEnabled(tcw->profile()))
|
| + return;
|
| +
|
| FaviconService* favicon_service =
|
| tcw->profile()->GetFaviconService(Profile::EXPLICIT_ACCESS);
|
|
|
|
|