Index: chrome/browser/history/history_extension_api.cc |
diff --git a/chrome/browser/history/history_extension_api.cc b/chrome/browser/history/history_extension_api.cc |
index a55d0958cc4ee55c105bdb4c47ef8852a0df3aab..856a2228c1f2dbc0a19c48ca8296b948cd20ef3d 100644 |
--- a/chrome/browser/history/history_extension_api.cc |
+++ b/chrome/browser/history/history_extension_api.cc |
@@ -265,7 +265,7 @@ void GetVisitsHistoryFunction::QueryComplete( |
AddVisitNode(*iterator, list); |
} |
} |
- result_.reset(list); |
+ SetSingleResult(list); |
SendAsyncResponse(); |
} |
@@ -318,7 +318,7 @@ void SearchHistoryFunction::SearchComplete( |
AddHistoryNode(**iterator, list); |
} |
} |
- result_.reset(list); |
+ SetSingleResult(list); |
SendAsyncResponse(); |
} |