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

Unified Diff: chrome/common/service_process_util_mac.mm

Issue 2416653002: Expand warning suppression in service_process_util_mac.mm. (Closed)
Patch Set: Created 4 years, 2 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/common/service_process_util_mac.mm
diff --git a/chrome/common/service_process_util_mac.mm b/chrome/common/service_process_util_mac.mm
index 489ea22d164390d7c24a88cc244e50b4e3c4558b..de0fdd3287276d339b0c720346ff7ac6353604f7 100644
--- a/chrome/common/service_process_util_mac.mm
+++ b/chrome/common/service_process_util_mac.mm
@@ -381,9 +381,9 @@ void ExecFilePathWatcherCallback::NotifyPathChanged(const base::FilePath& path,
DCHECK(base::mac::IsAtMostOS10_9());
Boolean fs_in_trash;
FSRef ref;
- if (CFURLGetFSRef(base::mac::NSToCFCast(executable_fsref_.get()), &ref)) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ if (CFURLGetFSRef(base::mac::NSToCFCast(executable_fsref_.get()), &ref)) {
// This is ok because it only happens on 10.9 and won't be needed once
// we stop supporting that.
OSErr err = FSDetermineIfRefIsEnclosedByFolder(
« 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