Index: chrome/browser/ui/webui/bug_report_ui.cc |
diff --git a/chrome/browser/ui/webui/bug_report_ui.cc b/chrome/browser/ui/webui/bug_report_ui.cc |
index 871d7f157fd66bf72f2ec60e3d5f91aa0db68b21..c5df51a8edf9e16286bf73f2acab3e202fee1a01 100644 |
--- a/chrome/browser/ui/webui/bug_report_ui.cc |
+++ b/chrome/browser/ui/webui/bug_report_ui.cc |
@@ -542,7 +542,7 @@ void BugReportHandler::HandleSendReport(const ListValue* list_value) { |
#endif |
// Update the data in bug_report_data_ so it can be sent |
- bug_report_data_->UpdateData(web_ui_->GetProfile() |
+ bug_report_data_->UpdateData(Profile::FromWebUI(web_ui_) |
, target_tab_url_ |
, problem_type |
, page_url |