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

Unified Diff: content/browser/geolocation/location_arbitrator_impl.cc

Issue 14081010: Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some gtk issues Created 7 years, 8 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: content/browser/geolocation/location_arbitrator_impl.cc
diff --git a/content/browser/geolocation/location_arbitrator_impl.cc b/content/browser/geolocation/location_arbitrator_impl.cc
index 97cae8e682e5115bf544f23b6790411a6a612cb7..9b1594f2d0c1c17d68b11541f486f176e5ea1027 100644
--- a/content/browser/geolocation/location_arbitrator_impl.cc
+++ b/content/browser/geolocation/location_arbitrator_impl.cc
@@ -125,7 +125,7 @@ AccessTokenStore* GeolocationArbitratorImpl::NewAccessTokenStore() {
}
AccessTokenStore* GeolocationArbitratorImpl::GetAccessTokenStore() {
- if (!access_token_store_.get())
+ if (!access_token_store_)
access_token_store_ = NewAccessTokenStore();
return access_token_store_.get();
}
« no previous file with comments | « content/browser/gamepad/gamepad_service.cc ('k') | content/browser/geolocation/wifi_data_provider_corewlan_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698