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

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_task_token.h

Issue 1609923002: Fix remaining incompatibilities between scoped_ptr and unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/sync_file_system/drive_backend/sync_task_token.h
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_task_token.h b/chrome/browser/sync_file_system/drive_backend/sync_task_token.h
index 1304ed6b797e148fcb35895f316755558651f112..d7596e27b8888e014e1ec885bbd4326da8372808 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_task_token.h
+++ b/chrome/browser/sync_file_system/drive_backend/sync_task_token.h
@@ -63,7 +63,7 @@ class SyncTaskToken {
void FinalizeTaskLog(const std::string& result_description);
void RecordLog(const std::string& message);
- bool has_task_log() const { return task_log_; }
+ bool has_task_log() const { return !!task_log_; }
void SetTaskLog(scoped_ptr<TaskLogger::TaskLog> task_log);
scoped_ptr<TaskLogger::TaskLog> PassTaskLog();

Powered by Google App Engine
This is Rietveld 408576698