| Index: content/browser/indexed_db/indexed_db_internals_ui.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_internals_ui.cc b/content/browser/indexed_db/indexed_db_internals_ui.cc
|
| index f2811c56c645bdb7c7cc0fc2e527ff73b6ddb13b..d09cc579f6f543950385a1a4fc44a51910e7f415 100644
|
| --- a/content/browser/indexed_db/indexed_db_internals_ui.cc
|
| +++ b/content/browser/indexed_db/indexed_db_internals_ui.cc
|
| @@ -126,7 +126,7 @@ void IndexedDBInternalsUI::OnOriginsReady(
|
| const base::FilePath& path) {
|
| DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
| web_ui()->CallJavascriptFunctionUnsafe("indexeddb.onOriginsReady", *origins,
|
| - base::StringValue(path.value()));
|
| + base::Value(path.value()));
|
| }
|
|
|
| static void FindContext(const base::FilePath& partition_path,
|
| @@ -270,8 +270,8 @@ void IndexedDBInternalsUI::OnForcedClose(const base::FilePath& partition_path,
|
| const Origin& origin,
|
| size_t connection_count) {
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| - "indexeddb.onForcedClose", base::StringValue(partition_path.value()),
|
| - base::StringValue(origin.Serialize()),
|
| + "indexeddb.onForcedClose", base::Value(partition_path.value()),
|
| + base::Value(origin.Serialize()),
|
| base::Value(static_cast<double>(connection_count)));
|
| }
|
|
|
| @@ -358,9 +358,8 @@ void IndexedDBInternalsUI::OnDownloadStarted(
|
|
|
| item->AddObserver(new FileDeleter(temp_path));
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| - "indexeddb.onOriginDownloadReady",
|
| - base::StringValue(partition_path.value()),
|
| - base::StringValue(origin.Serialize()),
|
| + "indexeddb.onOriginDownloadReady", base::Value(partition_path.value()),
|
| + base::Value(origin.Serialize()),
|
| base::Value(static_cast<double>(connection_count)));
|
| }
|
|
|
|
|