Chrome Version : 49.0.2623.110
OS Version: OS X 10.11.4
Building with a 10.9 deployment target emits
OBJC obj/third_party/mozilla/mozilla.NSURL+Utils.o
../../third_party/mozilla/NSURL+Utils.m:70:17: warning: 'FSPathMakeRef' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations]
if (inFile && FSPathMakeRef((UInt8 *)[inFile fileSystemRepresentation], &ref, NULL) == noErr) {
Also in NSURL+Utils.mm:
FSOpenResFile
Get1Resource
GetMaxResourceSize
CloseResFile
These are all deprecated. All used in +(NSURL*)URLFromInetloc:(NSString*)inFile
Which is used via NSPasteboard+Utils’ -getURLs:.. by cocoa_dnd_util’s ui::PopulateURLAndTitleFromPasteboard()
Alternatives might be: https://opensource.apple.com/source/WebKit/WebKit-7600.1.25/mac/History/WebURLsWithTitles.h
or methods in components/bookmarks/browser/bookmark_pasteboard_helper_mac.h which appear to do similar things.
But altering PopulateURLAndTitleFromPasteboard looks kinda scary and nontrivial.
Comment 1 by tapted@chromium.org
, Apr 5 2016