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

Unified Diff: chrome/browser/metrics/metrics_service.cc

Issue 18346006: Update OS X to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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/metrics/metrics_service.cc
diff --git a/chrome/browser/metrics/metrics_service.cc b/chrome/browser/metrics/metrics_service.cc
index d00b8f80450999e31138f8ee33538ba404878097..f1a6f65a375c086e781b63e0e5bf3a7146f805c8 100644
--- a/chrome/browser/metrics/metrics_service.cc
+++ b/chrome/browser/metrics/metrics_service.cc
@@ -1867,7 +1867,7 @@ void MetricsService::StartExternalMetrics() {
#endif
bool MetricsService::GzipProtobufsBeforeUploading() {
- if (!gzipped_protobufs_trial_) {
+ if (!gzipped_protobufs_trial_.get()) {
gzipped_protobufs_trial_ = base::FieldTrialList::FactoryGetFieldTrial(
kGzippedProtobufsTrialName,
kGzippedProtobufsTrialDivisor,
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698