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

Unified Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc

Issue 888713002: DataReductionProxyStatisticsPrefs should support WeakPtr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Webview fix Created 5 years, 10 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
Index: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc
index 81b669fffebeea116ca08b0e936ce33aed14f864..d4e4dd9b1d79bcd2313f8ab92ffdecc6344ea54b 100644
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc
@@ -46,8 +46,7 @@ CreateDataReductionProxyChromeIOData(
data_reduction_proxy::DataReductionProxyStatisticsPrefs*
data_reduction_proxy_statistics_prefs =
new data_reduction_proxy::DataReductionProxyStatisticsPrefs(
- prefs, ui_task_runner,
- commit_delay);
+ prefs, ui_task_runner, commit_delay);
scoped_ptr<data_reduction_proxy::DataReductionProxyIOData>
data_reduction_proxy_io_data(
@@ -59,8 +58,6 @@ CreateDataReductionProxyChromeIOData(
io_task_runner,
ui_task_runner));
data_reduction_proxy_io_data->InitOnUIThread(prefs);
- settings->SetDataReductionProxyStatisticsPrefs(
- data_reduction_proxy_statistics_prefs);
return data_reduction_proxy_io_data.Pass();
}
« no previous file with comments | « android_webview/browser/aw_browser_context.cc ('k') | chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698