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

Unified Diff: chrome/browser/chromeos/settings/session_manager_operation.cc

Issue 18308004: Update CrOS 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/chromeos/settings/session_manager_operation.cc
diff --git a/chrome/browser/chromeos/settings/session_manager_operation.cc b/chrome/browser/chromeos/settings/session_manager_operation.cc
index 5339f3fea9b1130bfb644f42eb2c12eda4a422fa..67188e81bd1a885f825d6a818a7b6aeda18d9a44 100644
--- a/chrome/browser/chromeos/settings/session_manager_operation.cc
+++ b/chrome/browser/chromeos/settings/session_manager_operation.cc
@@ -236,7 +236,7 @@ void SignAndStoreSettingsOperation::Run() {
}
void SignAndStoreSettingsOperation::StartSigning() {
- if (!owner_key() || !owner_key()->private_key() || username_.empty()) {
+ if (!owner_key().get() || !owner_key()->private_key() || username_.empty()) {
ReportResult(DeviceSettingsService::STORE_KEY_UNAVAILABLE);
return;
}

Powered by Google App Engine
This is Rietveld 408576698