Changeset 244529 in webkit
- Timestamp:
- Apr 22, 2019 5:15:03 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r244521 r244529 1 2019-04-22 Alex Christensen <achristensen@webkit.org> 2 3 Deprecate WKContextCreateWithInjectedBundlePath 4 https://bugs.webkit.org/show_bug.cgi?id=197169 5 6 Reviewed by Youenn Fablet. 7 8 * UIProcess/API/C/WKContext.h: 9 1 10 2019-04-22 Alex Christensen <achristensen@webkit.org> 2 11 -
trunk/Source/WebKit/UIProcess/API/C/WKContext.h
r240363 r244529 108 108 109 109 WK_EXPORT WKContextRef WKContextCreate() WK_C_API_DEPRECATED_WITH_REPLACEMENT(WKContextCreateWithConfiguration); 110 WK_EXPORT WKContextRef WKContextCreateWithInjectedBundlePath(WKStringRef path) ;110 WK_EXPORT WKContextRef WKContextCreateWithInjectedBundlePath(WKStringRef path) WK_C_API_DEPRECATED_WITH_REPLACEMENT(WKContextCreateWithConfiguration); 111 111 WK_EXPORT WKContextRef WKContextCreateWithConfiguration(WKContextConfigurationRef configuration); 112 112 -
trunk/Tools/ChangeLog
r244521 r244529 1 2019-04-22 Alex Christensen <achristensen@webkit.org> 2 3 Deprecate WKContextCreateWithInjectedBundlePath 4 https://bugs.webkit.org/show_bug.cgi?id=197169 5 6 Reviewed by Youenn Fablet. 7 8 * TestWebKitAPI/PlatformUtilities.cpp: 9 (TestWebKitAPI::Util::createContextWithInjectedBundle): 10 Use WKContextCreateWithConfiguration instead of WKContextCreateWithInjectedBundlePath after having set its injected bundle path. 11 1 12 2019-04-22 Alex Christensen <achristensen@webkit.org> 2 13 -
trunk/Tools/TestWebKitAPI/PlatformUtilities.cpp
r244390 r244529 27 27 #include "PlatformUtilities.h" 28 28 29 #include <WebKit/WKContextConfigurationRef.h> 29 30 #include <wtf/StdLibExtras.h> 30 31 … … 37 38 { 38 39 WKRetainPtr<WKStringRef> injectedBundlePath = adoptWK(createInjectedBundlePath()); 39 WKContextRef context = WKContextCreateWithInjectedBundlePath(injectedBundlePath.get());40 41 return context;40 auto configuration = adoptWK(WKContextConfigurationCreate()); 41 WKContextConfigurationSetInjectedBundlePath(configuration.get(), injectedBundlePath.get()); 42 return WKContextCreateWithConfiguration(configuration.get()); 42 43 } 43 44
Note: See TracChangeset
for help on using the changeset viewer.