Index: chrome/browser/tabs/tab_finder.cc |
=================================================================== |
--- chrome/browser/tabs/tab_finder.cc (revision 88698) |
+++ chrome/browser/tabs/tab_finder.cc (working copy) |
@@ -95,7 +95,8 @@ |
// Then check other browsers. |
for (BrowserList::const_iterator i = BrowserList::begin(); |
i != BrowserList::end(); ++i) { |
- if (!(*i)->profile()->IsOffTheRecord()) { |
+ if (!(*i)->profile()->IsOffTheRecord() && |
+ (*i)->profile()->IsSameProfile(browser->profile())) { |
tab_in_browser = FindTabInBrowser(*i, url); |
if (tab_in_browser) { |
*existing_browser = *i; |