Changeset 219200 in webkit
- Timestamp:
- Jul 6, 2017, 9:31:34 AM (8 years ago)
- Location:
- trunk/Source/WebKit/mac
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/mac/ChangeLog
r219199 r219200 1 2017-07-06 Brady Eidson <beidson@apple.com> 2 3 Add logging to first attempt to use the WebIconDatabase class. 4 https://bugs.webkit.org/show_bug.cgi?id=174190 5 6 Reviewed by Andy Estes. 7 8 * Misc/WebIconDatabase.mm: 9 (+[WebIconDatabase sharedIconDatabase]): On first call, log a warning of the bleak future of this non-API. 10 * Misc/WebKitVersionChecks.h: 11 1 12 2017-07-06 Matt Lewis <jlewis3@apple.com> 2 13 -
trunk/Source/WebKit/mac/Misc/WebIconDatabase.mm
r206802 r219200 35 35 #import "WebKitLogging.h" 36 36 #import "WebKitNSStringExtras.h" 37 #import "WebKitVersionChecks.h" 37 38 #import "WebNSFileManagerExtras.h" 38 39 #import "WebNSURLExtras.h" … … 98 99 + (WebIconDatabase *)sharedIconDatabase 99 100 { 100 static WebIconDatabase *database = nil; 101 if (!database) 101 static WebIconDatabase *database; 102 static dispatch_once_t once; 103 dispatch_once(&once, ^ { 104 if (linkedOnOrAfter(SDKVersion::FirstWithWebIconDatabaseWarning)) 105 NSLog(@"+[WebIconDatabase sharedIconDatabase] is not API and should not be used. WebIconDatabase no longer handles icon loading and it will be removed in a future release."); 106 102 107 database = [[WebIconDatabase alloc] init]; 108 }); 109 103 110 return database; 104 111 } -
trunk/Source/WebKit/mac/Misc/WebKitVersionChecks.h
r214403 r219200 85 85 FirstToExcludeLocalStorageFromBackup = DYLD_IOS_VERSION_11_0, 86 86 #else 87 FirstWithDropToNavigateDisallowedByDefault = DYLD_MACOSX_VERSION_10_13 87 FirstWithDropToNavigateDisallowedByDefault = DYLD_MACOSX_VERSION_10_13, 88 FirstWithWebIconDatabaseWarning = DYLD_MACOSX_VERSION_10_13, 88 89 #endif 89 90 };
Note:
See TracChangeset
for help on using the changeset viewer.