Changeset 87962 in webkit
- Timestamp:
- Jun 2, 2011 4:02:28 PM (13 years ago)
- Location:
- trunk/Source/WebKit/mac
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/mac/ChangeLog
r87580 r87962 1 2011-06-02 Anders Carlsson <andersca@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 Need a way to install the memory pressure handler without initializing WebKit1 6 https://bugs.webkit.org/show_bug.cgi?id=61975 7 8 Add a WebInstallMemoryPressureHandler function which will install the memory pressure handler. 9 -[WebView WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:] will do this, 10 but we'd like to be able to install a memory pressure handler without creating a WebView or even 11 calling any WebView method since that will call +[WebView initialize]. 12 13 * WebKit.exp: 14 * WebView/WebView.mm: 15 (WebInstallMemoryPressureHandler): 16 * WebView/WebViewPrivate.h: 17 1 18 2011-05-27 Stephanie Lewis <slewis@apple.com> 2 19 -
trunk/Source/WebKit/mac/WebKit.exp
r80892 r87962 97 97 _WebIconSmallSize 98 98 _WebInitForCarbon 99 _WebInstallMemoryPressureHandler 99 100 _WebKitErrorDomain 100 101 _WebKitErrorMIMETypeKey -
trunk/Source/WebKit/mac/WebView/WebView.mm
r87329 r87962 6394 6394 @end 6395 6395 6396 void WebInstallMemoryPressureHandler(void) 6397 { 6398 memoryPressureHandler().install(); 6399 } 6400 6396 6401 #ifdef BUILDING_ON_LEOPARD 6397 6402 -
trunk/Source/WebKit/mac/WebView/WebViewPrivate.h
r85036 r87962 727 727 @end 728 728 729 #ifdef __cplusplus 730 extern "C" { 731 #endif 732 733 // This is a C function to avoid calling +[WebView initialize]. 734 void WebInstallMemoryPressureHandler(void); 735 736 #ifdef __cplusplus 737 } 738 #endif 739 729 740 #undef WebNSInteger 730 741 #undef WebNSUInteger
Note: See TracChangeset
for help on using the changeset viewer.