Index: chrome/browser/chrome_to_mobile_service.cc |
diff --git a/chrome/browser/chrome_to_mobile_service.cc b/chrome/browser/chrome_to_mobile_service.cc |
index dfb42f79ea008b10a5c2674fcbefe47a081ffabc..e2449c92a88b02eab278d2dff395d3e431768262 100644 |
--- a/chrome/browser/chrome_to_mobile_service.cc |
+++ b/chrome/browser/chrome_to_mobile_service.cc |
@@ -747,7 +747,7 @@ void ChromeToMobileService::HandleSubmitResponse( |
// Check if the observer is waiting on a second response (url or snapshot). |
for (RequestObserverMap::iterator other = request_observer_map_.begin(); |
observer.get() && (other != request_observer_map_.end()); ++other) { |
- if (other->second == observer) { |
+ if (other->second.get() == observer.get()) { |
// Delay reporting success until the second response is received. |
if (success) |
return; |