Index: chrome/browser/intents/web_intents_util.cc |
diff --git a/chrome/browser/intents/web_intents_util.cc b/chrome/browser/intents/web_intents_util.cc |
index 0cb3b2f03435d8a8f55f6137b47d2f884e946edb..1307b2e83b7140fec34b492c9087cd82e63563cc 100644 |
--- a/chrome/browser/intents/web_intents_util.cc |
+++ b/chrome/browser/intents/web_intents_util.cc |
@@ -57,10 +57,14 @@ bool IsWebIntentsEnabledForProfile(Profile* profile) { |
} |
Browser* GetBrowserForBackgroundWebIntentDelivery(Profile* profile) { |
+#if defined(OS_ANDROID) |
+ return NULL; |
+#else |
Browser* browser = BrowserList::GetLastActive(); |
if (browser && profile && browser->profile() != profile) |
return NULL; |
return browser; |
+#endif // defined(OS_ANDROID) |
} |
bool IsRecognizedAction(const string16& action) { |