diff options
Diffstat (limited to 'content/browser/tracing/tracing_ui.cc')
-rw-r--r-- | content/browser/tracing/tracing_ui.cc | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/content/browser/tracing/tracing_ui.cc b/content/browser/tracing/tracing_ui.cc index aa2e529..6c224c0 100644 --- a/content/browser/tracing/tracing_ui.cc +++ b/content/browser/tracing/tracing_ui.cc @@ -317,8 +317,11 @@ void TracingMessageHandler::OnLoadTraceFile(const base::ListValue* list) { ui::SelectFileDialog::SELECT_OPEN_FILE, string16(), base::FilePath(), - NULL, 0, FILE_PATH_LITERAL(""), - web_ui()->GetWebContents()->GetView()->GetTopLevelNativeWindow(), NULL); + NULL, + 0, + FILE_PATH_LITERAL(std::string()), + web_ui()->GetWebContents()->GetView()->GetTopLevelNativeWindow(), + NULL); } void TracingMessageHandler::LoadTraceFileComplete(string16* contents) { @@ -367,8 +370,11 @@ void TracingMessageHandler::OnSaveTraceFile(const base::ListValue* list) { ui::SelectFileDialog::SELECT_SAVEAS_FILE, string16(), base::FilePath(), - NULL, 0, FILE_PATH_LITERAL(""), - web_ui()->GetWebContents()->GetView()->GetTopLevelNativeWindow(), NULL); + NULL, + 0, + FILE_PATH_LITERAL(std::string()), + web_ui()->GetWebContents()->GetView()->GetTopLevelNativeWindow(), + NULL); } void TracingMessageHandler::SaveTraceFileComplete() { |