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

Unified Diff: chrome/browser/extensions/api/system_info/system_info_provider.h

Issue 16295003: Update chrome/ 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, 7 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/extensions/api/system_info/system_info_provider.h
diff --git a/chrome/browser/extensions/api/system_info/system_info_provider.h b/chrome/browser/extensions/api/system_info/system_info_provider.h
index 849075dfa193181ec06f169d8f1438ec7440fe55..574e62925ace61d2cb8d60c36e767eae41599438 100644
--- a/chrome/browser/extensions/api/system_info/system_info_provider.h
+++ b/chrome/browser/extensions/api/system_info/system_info_provider.h
@@ -51,7 +51,7 @@ class SystemInfoProvider
// For testing
static void InitializeForTesting(
scoped_refptr<SystemInfoProvider<T> > provider) {
- DCHECK(provider != NULL);
+ DCHECK(provider.get() != NULL);
single_shared_provider_.Get() = provider;
}

Powered by Google App Engine
This is Rietveld 408576698