| Index: chrome/browser/ui/webui/md_downloads/downloads_list_tracker.cc
|
| diff --git a/chrome/browser/ui/webui/md_downloads/downloads_list_tracker.cc b/chrome/browser/ui/webui/md_downloads/downloads_list_tracker.cc
|
| index caf07f69197c0a97b7f85dcfd48d2d0b8cd193aa..c41f06086119843859ee9d75222971da9aec79b4 100644
|
| --- a/chrome/browser/ui/webui/md_downloads/downloads_list_tracker.cc
|
| +++ b/chrome/browser/ui/webui/md_downloads/downloads_list_tracker.cc
|
| @@ -129,7 +129,7 @@ void DownloadsListTracker::StartAndSendChunk() {
|
|
|
| web_ui_->CallJavascriptFunctionUnsafe(
|
| "downloads.Manager.insertItems",
|
| - base::FundamentalValue(static_cast<int>(sent_to_page_)), list);
|
| + base::Value(static_cast<int>(sent_to_page_)), list);
|
|
|
| sent_to_page_ += list.GetSize();
|
| }
|
| @@ -391,7 +391,7 @@ void DownloadsListTracker::InsertItem(const SortedSet::iterator& insert) {
|
|
|
| web_ui_->CallJavascriptFunctionUnsafe(
|
| "downloads.Manager.insertItems",
|
| - base::FundamentalValue(static_cast<int>(index)), list);
|
| + base::Value(static_cast<int>(index)), list);
|
|
|
| sent_to_page_++;
|
| }
|
| @@ -402,7 +402,7 @@ void DownloadsListTracker::UpdateItem(const SortedSet::iterator& update) {
|
|
|
| web_ui_->CallJavascriptFunctionUnsafe(
|
| "downloads.Manager.updateItem",
|
| - base::FundamentalValue(static_cast<int>(GetIndex(update))),
|
| + base::Value(static_cast<int>(GetIndex(update))),
|
| *CreateDownloadItemValue(*update));
|
| }
|
|
|
| @@ -417,7 +417,7 @@ void DownloadsListTracker::RemoveItem(const SortedSet::iterator& remove) {
|
| if (index < sent_to_page_) {
|
| web_ui_->CallJavascriptFunctionUnsafe(
|
| "downloads.Manager.removeItem",
|
| - base::FundamentalValue(static_cast<int>(index)));
|
| + base::Value(static_cast<int>(index)));
|
| sent_to_page_--;
|
| }
|
| }
|
|
|