Changeset 167865 in webkit
- Timestamp:
- Apr 27, 2014 4:13:05 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r167864 r167865 1 2014-04-27 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] -[WKWebProcessPlugInController parameters] returns nil if no parameters have been set yet 4 https://bugs.webkit.org/show_bug.cgi?id=132223 5 6 Reviewed by Sam Weinig. 7 8 * WebProcess/InjectedBundle/mac/InjectedBundleMac.mm: 9 (WebKit::InjectedBundle::bundleParameters): Create the WKWebProcessBundleParameters if 10 needed. 11 1 12 2014-04-27 Tim Horton <timothy_horton@apple.com> 2 13 -
trunk/Source/WebKit2/WebProcess/InjectedBundle/mac/InjectedBundleMac.mm
r167573 r167865 132 132 WKWebProcessBundleParameters *InjectedBundle::bundleParameters() 133 133 { 134 ASSERT(m_bundleParameters); 134 // We must not return nil even if no parameters are currently set, in order to allow the client 135 // to use KVO. 136 if (!m_bundleParameters) 137 m_bundleParameters = adoptNS([[WKWebProcessBundleParameters alloc] initWithDictionary:@{ }]); 135 138 136 139 return m_bundleParameters.get();
Note: See TracChangeset
for help on using the changeset viewer.