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 e437f6754043559d774bfc67afaade49f8f9b650..357ed1e148b2b7ca1663d3f6e50e266270080c69 100644 |
--- a/content/browser/indexed_db/indexed_db_internals_ui.cc |
+++ b/content/browser/indexed_db/indexed_db_internals_ui.cc |
@@ -124,8 +124,8 @@ void IndexedDBInternalsUI::OnOriginsReady( |
std::unique_ptr<base::ListValue> origins, |
const base::FilePath& path) { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
- web_ui()->CallJavascriptFunction( |
- "indexeddb.onOriginsReady", *origins, base::StringValue(path.value())); |
+ web_ui()->CallJavascriptFunctionUnsafe("indexeddb.onOriginsReady", *origins, |
+ base::StringValue(path.value())); |
} |
static void FindContext(const base::FilePath& partition_path, |
@@ -269,7 +269,7 @@ void IndexedDBInternalsUI::ForceCloseOriginOnIndexedDBThread( |
void IndexedDBInternalsUI::OnForcedClose(const base::FilePath& partition_path, |
const Origin& origin, |
size_t connection_count) { |
- web_ui()->CallJavascriptFunction( |
+ web_ui()->CallJavascriptFunctionUnsafe( |
"indexeddb.onForcedClose", base::StringValue(partition_path.value()), |
base::StringValue(origin.Serialize()), |
base::FundamentalValue(static_cast<double>(connection_count))); |
@@ -357,7 +357,7 @@ void IndexedDBInternalsUI::OnDownloadStarted( |
} |
item->AddObserver(new FileDeleter(temp_path)); |
- web_ui()->CallJavascriptFunction( |
+ web_ui()->CallJavascriptFunctionUnsafe( |
"indexeddb.onOriginDownloadReady", |
base::StringValue(partition_path.value()), |
base::StringValue(origin.Serialize()), |