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 6f388b8b0e433c02ec8cfc8ec3e0294bb6f18eef..bf68fe21aa84760a3cd7b418de2b9eff0b54b53a 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))); |
@@ -356,7 +356,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()), |