Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1229)

Unified Diff: content/browser/download/mhtml_generation_manager.cc

Issue 2397233004: Fix trace parameter showing gibberish. (Closed)
Patch Set: One more attempt to fix Windows build issue. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/mhtml_generation_manager.cc
diff --git a/content/browser/download/mhtml_generation_manager.cc b/content/browser/download/mhtml_generation_manager.cc
index 1e8b0549fd35007c849f387da6435a114ffbb594..83567840b2196739e8a40e3b61af396f1555a1b2 100644
--- a/content/browser/download/mhtml_generation_manager.cc
+++ b/content/browser/download/mhtml_generation_manager.cc
@@ -394,8 +394,8 @@ void MHTMLGenerationManager::SaveMHTML(WebContents* web_contents,
Job* job = NewJob(web_contents, params, callback);
TRACE_EVENT_NESTABLE_ASYNC_BEGIN2(
"page-serialization", "SavingMhtmlJob", job, "url",
- web_contents->GetLastCommittedURL().possibly_invalid_spec().c_str(),
- "file", params.file_path.value().c_str());
+ web_contents->GetLastCommittedURL().possibly_invalid_spec(),
+ "file", params.file_path.AsUTF8Unsafe());
BrowserThread::PostTaskAndReplyWithResult(
BrowserThread::FILE, FROM_HERE,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698