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

Unified Diff: chrome/installer/mac/app/Unpacker.m

Issue 2370273003: Drop dispatch_release(): ARC manages dispatch queues with a deployment target >= 10.8 (Closed)
Patch Set: Back... with a guard! Created 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/mac/app/Unpacker.m
diff --git a/chrome/installer/mac/app/Unpacker.m b/chrome/installer/mac/app/Unpacker.m
index 5d16bffdac6dc381b8e078406db699f427b61e55..02ff0121362d1c0598ae3a8e66eff75b44c17d16 100644
--- a/chrome/installer/mac/app/Unpacker.m
+++ b/chrome/installer/mac/app/Unpacker.m
@@ -146,7 +146,9 @@ static void unmount_callback(DADiskRef disk,
- (void)didFinishEjectingDisk:(DADiskRef)disk
withDissenter:(DADissenterRef)dissenter {
DASessionSetDispatchQueue(session_, NULL);
+#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
dispatch_release(unpack_dq_);
+#endif
CFRelease(session_);
NSError* error = nil;
if (dissenter) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698