Changeset 191140 in webkit
- Timestamp:
- Oct 15, 2015 2:59:24 PM (9 years ago)
- Location:
- trunk/Source
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r191132 r191140 1 2015-10-15 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Stop using WKSetNSURLConnectionDefersCallbacks 4 https://bugs.webkit.org/show_bug.cgi?id=150189 5 6 Reviewed by Anders Carlsson. 7 8 * platform/ios/WebCoreSystemInterfaceIOS.mm: Removed definition. 9 * platform/mac/WebCoreSystemInterface.h: Removed declaration. 10 * platform/mac/WebCoreSystemInterface.mm: Removed definition. 11 12 * platform/network/mac/ResourceHandleMac.mm: 13 (WebCore::ResourceHandle::start): Changed to use -[NSURLConnection setDefersLoading:]. 14 (WebCore::ResourceHandle::platformSetDefersLoading): Ditto. 15 16 * platform/spi/cocoa/NSURLConnectionSPI.h: Added declaration of 17 -[NSURLConnection setDefersLoading:]. 18 1 19 2015-10-15 Dean Jackson <dino@apple.com> 2 20 -
trunk/Source/WebCore/platform/ios/WebCoreSystemInterfaceIOS.mm
r186118 r191140 39 39 WEBCORE_EXPORT bool (*wkCGContextIsPDFContext)(CGContextRef); 40 40 WEBCORE_EXPORT NSString* (*wkCopyNSURLResponseStatusLine)(NSURLResponse*); 41 WEBCORE_EXPORT void (*wkSetNSURLConnectionDefersCallbacks)(NSURLConnection *, BOOL);42 41 WEBCORE_EXPORT void (*wkSetNSURLRequestShouldContentSniff)(NSMutableURLRequest *, BOOL); 43 42 WEBCORE_EXPORT id (*wkCreateNSURLConnectionDelegateProxy)(void); -
trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h
r186821 r191140 198 198 extern void (*wkSetDragImage)(NSImage*, NSPoint offset); 199 199 #endif 200 extern void (*wkSetNSURLConnectionDefersCallbacks)(NSURLConnection *, BOOL);201 200 extern void (*wkSetNSURLRequestShouldContentSniff)(NSMutableURLRequest *, BOOL); 202 201 extern void (*wkSetBaseCTM)(CGContextRef, CGAffineTransform); -
trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.mm
r186118 r191140 82 82 CGAffineTransform (*wkGetUserToBaseCTM)(CGContextRef); 83 83 bool (*wkCGContextIsPDFContext)(CGContextRef); 84 void (*wkSetNSURLConnectionDefersCallbacks)(NSURLConnection *, BOOL);85 84 void (*wkSetNSURLRequestShouldContentSniff)(NSMutableURLRequest *, BOOL); 86 85 unsigned (*wkInitializeMaximumHTTPConnectionCountPerHost)(unsigned preferredConnectionCount); -
trunk/Source/WebCore/platform/network/mac/ResourceHandleMac.mm
r187609 r191140 298 298 if (d->m_connection) { 299 299 if (d->m_defersLoading) 300 wkSetNSURLConnectionDefersCallbacks(connection(), YES);300 connection().defersCallbacks = YES; 301 301 302 302 return true; … … 322 322 { 323 323 if (d->m_connection) 324 wkSetNSURLConnectionDefersCallbacks(d->m_connection.get(), defers);324 [d->m_connection setDefersCallbacks:defers]; 325 325 } 326 326 -
trunk/Source/WebCore/platform/spi/cocoa/NSURLConnectionSPI.h
r187609 r191140 32 32 @interface NSURLConnection () 33 33 + (CFRunLoopRef)resourceLoaderRunLoop; 34 - (void)setDefersCallbacks:(BOOL)defers; 34 35 @end 35 36 -
trunk/Source/WebKit/mac/ChangeLog
r191084 r191140 1 2015-10-15 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Stop using WKSetNSURLConnectionDefersCallbacks 4 https://bugs.webkit.org/show_bug.cgi?id=150189 5 6 Reviewed by Anders Carlsson. 7 8 * WebCoreSupport/WebSystemInterface.mm: 9 (InitWebCoreSystemInterface): Removed initialization. 10 1 11 2015-10-14 Zhuo Li <zachli@apple.com> 2 12 -
trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm
r186821 r191140 95 95 INIT(SetHTTPRequestMinimumFastLanePriority); 96 96 INIT(HTTPRequestEnablePipelining); 97 INIT(SetNSURLConnectionDefersCallbacks);98 97 INIT(SetNSURLRequestShouldContentSniff); 99 98 INIT(SetPatternPhaseInUserSpace); -
trunk/Source/WebKit2/ChangeLog
r191138 r191140 1 2015-10-15 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Stop using WKSetNSURLConnectionDefersCallbacks 4 https://bugs.webkit.org/show_bug.cgi?id=150189 5 6 Reviewed by Anders Carlsson. 7 8 * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm: 9 (InitWebCoreSystemInterface): Removed initialization. 10 1 11 2015-10-15 Anders Carlsson <andersca@apple.com> 2 12 -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm
r186821 r191140 101 101 INIT(SetHTTPRequestPriority); 102 102 INIT(SetHTTPRequestMinimumFastLanePriority); 103 INIT(SetNSURLConnectionDefersCallbacks);104 103 INIT(SetNSURLRequestShouldContentSniff); 105 104 INIT(SetPatternPhaseInUserSpace);
Note: See TracChangeset
for help on using the changeset viewer.