Index: components/proximity_auth/webui/proximity_auth_webui_handler.cc |
diff --git a/components/proximity_auth/webui/proximity_auth_webui_handler.cc b/components/proximity_auth/webui/proximity_auth_webui_handler.cc |
index 3677b310d311c8efd144973157b7399e279da298..41d391f71f2f423215e5709bf72ad79a9a22a5ac 100644 |
--- a/components/proximity_auth/webui/proximity_auth_webui_handler.cc |
+++ b/components/proximity_auth/webui/proximity_auth_webui_handler.cc |
@@ -237,7 +237,7 @@ void ProximityAuthWebUIHandler::OnWebContentsInitialized( |
void ProximityAuthWebUIHandler::GetLogMessages(const base::ListValue* args) { |
base::ListValue json_logs; |
for (const auto& log : *LogBuffer::GetInstance()->logs()) { |
- json_logs.Append(LogMessageToDictionary(log).release()); |
+ json_logs.Append(LogMessageToDictionary(log)); |
} |
web_ui()->CallJavascriptFunctionUnsafe("LogBufferInterface.onGotLogMessages", |
json_logs); |