Index: chrome/browser/history/expire_history_backend.cc |
diff --git a/chrome/browser/history/expire_history_backend.cc b/chrome/browser/history/expire_history_backend.cc |
index e874d19b831782fcd17be417836f736266ccefab..b4791d9293a8b91ba7f95892ad74d222b4ef62fa 100644 |
--- a/chrome/browser/history/expire_history_backend.cc |
+++ b/chrome/browser/history/expire_history_backend.cc |
@@ -321,8 +321,7 @@ void ExpireHistoryBackend::BroadcastNotifications(DeleteEffects* effects, |
details->changed_urls = effects->modified_urls; |
delegate_->NotifySyncURLsModified(&details->changed_urls); |
delegate_->BroadcastNotifications( |
- chrome::NOTIFICATION_HISTORY_URLS_MODIFIED, |
- details.PassAs<HistoryDetails>()); |
+ chrome::NOTIFICATION_HISTORY_URLS_MODIFIED, details.Pass()); |
} |
if (!effects->deleted_urls.empty()) { |
scoped_ptr<URLsDeletedDetails> details(new URLsDeletedDetails); |
@@ -333,7 +332,7 @@ void ExpireHistoryBackend::BroadcastNotifications(DeleteEffects* effects, |
delegate_->NotifySyncURLsDeleted(details->all_history, details->expired, |
&details->rows); |
delegate_->BroadcastNotifications(chrome::NOTIFICATION_HISTORY_URLS_DELETED, |
- details.PassAs<HistoryDetails>()); |
+ details.Pass()); |
} |
} |