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

Unified Diff: chrome/utility/image_writer/disk_unmounter_mac.cc

Issue 591493002: Remove implicit conversions from scoped_refptr to T* in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatting Created 6 years, 3 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
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/image_writer/disk_unmounter_mac.cc
diff --git a/chrome/utility/image_writer/disk_unmounter_mac.cc b/chrome/utility/image_writer/disk_unmounter_mac.cc
index c00ec882c409ed6f19687035427fb623ba93d942..730cc2332cd7af005459a22e6c89e7c081ae22ba 100644
--- a/chrome/utility/image_writer/disk_unmounter_mac.cc
+++ b/chrome/utility/image_writer/disk_unmounter_mac.cc
@@ -31,7 +31,7 @@ void DiskUnmounterMac::Unmount(const std::string& device_path,
const base::Closure& success_continuation,
const base::Closure& failure_continuation) {
// Should only be used once.
- DCHECK(!original_thread_);
+ DCHECK(!original_thread_.get());
original_thread_ = base::MessageLoopProxy::current();
success_continuation_ = success_continuation;
failure_continuation_ = failure_continuation;
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698