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

Unified Diff: chrome/browser/ui/webui/chromeos/slow_trace_ui.cc

Issue 561903002: Remove implicit conversions from scoped_refptr to T* in c/b/ui/webui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove dumb change Created 6 years, 3 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 | « chrome/browser/ui/webui/chromeos/login/l10n_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/slow_trace_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/slow_trace_ui.cc b/chrome/browser/ui/webui/chromeos/slow_trace_ui.cc
index d45511a325dfc0e573a1869a4c2a5757a646a9d2..bdd3968991cbd3071a3059ab1b6cef5b31d7971d 100644
--- a/chrome/browser/ui/webui/chromeos/slow_trace_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/slow_trace_ui.cc
@@ -58,7 +58,7 @@ SlowTraceSource::~SlowTraceSource() {}
void SlowTraceSource::OnGetTraceData(
const content::URLDataSource::GotDataCallback& callback,
scoped_refptr<base::RefCountedString> trace_data) {
- callback.Run(trace_data);
+ callback.Run(trace_data.get());
}
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/l10n_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698