| Index: chrome/browser/ui/webui/downloads_dom_handler.cc
|
| diff --git a/chrome/browser/ui/webui/downloads_dom_handler.cc b/chrome/browser/ui/webui/downloads_dom_handler.cc
|
| index 8b66dd4a17dde2ee202d91011cae6735b2f89c07..93976bb0263ac5720ca905c173223be45b272119 100644
|
| --- a/chrome/browser/ui/webui/downloads_dom_handler.cc
|
| +++ b/chrome/browser/ui/webui/downloads_dom_handler.cc
|
| @@ -143,7 +143,7 @@ void DownloadsDOMHandler::ModelChanged() {
|
| // fixed.
|
| // We should never see anything that isn't already in the history.
|
| CHECK(*it);
|
| - CHECK_NE(DownloadHistory::kUninitializedHandle, (*it)->db_handle());
|
| + CHECK_NE(DownloadHistory::kUninitializedHandle, (*it)->id());
|
|
|
| (*it)->AddObserver(this);
|
| }
|
| @@ -211,7 +211,7 @@ void DownloadsDOMHandler::HandlePause(const ListValue* args) {
|
| void DownloadsDOMHandler::HandleRemove(const ListValue* args) {
|
| DownloadItem* file = GetDownloadByValue(args);
|
| // TODO(rdsmith): Change to DCHECK when http://crbug.com/84508 is fixed.
|
| - CHECK_NE(DownloadHistory::kUninitializedHandle, file->db_handle());
|
| + CHECK_NE(DownloadHistory::kUninitializedHandle, file->id());
|
| if (file)
|
| file->Remove();
|
| }
|
|
|