Title: [236486] trunk/Source/WebKit
- Revision
- 236486
- Author
- [email protected]
- Date
- 2018-09-25 16:21:25 -0700 (Tue, 25 Sep 2018)
Log Message
Unreviewed, a quick fix after r236481.
* UIProcess/WebsiteData/WebsiteDataStore.cpp:
(WebKit::WebsiteDataStore::setMockWebAuthenticationConfiguration):
Add an early return, so we don't end up with setting MockWebAuthenticationConfiguration twice.
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (236485 => 236486)
--- trunk/Source/WebKit/ChangeLog 2018-09-25 22:49:47 UTC (rev 236485)
+++ trunk/Source/WebKit/ChangeLog 2018-09-25 23:21:25 UTC (rev 236486)
@@ -1,3 +1,11 @@
+2018-09-25 Jiewen Tan <[email protected]>
+
+ Unreviewed, a quick fix after r236481.
+
+ * UIProcess/WebsiteData/WebsiteDataStore.cpp:
+ (WebKit::WebsiteDataStore::setMockWebAuthenticationConfiguration):
+ Add an early return, so we don't end up with setting MockWebAuthenticationConfiguration twice.
+
2018-09-25 John Wilander <[email protected]>
Change from HAVE(CFNETWORK_STORAGE_PARTITIONING) to ENABLE(RESOURCE_LOAD_STATISTICS)
Modified: trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp (236485 => 236486)
--- trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp 2018-09-25 22:49:47 UTC (rev 236485)
+++ trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp 2018-09-25 23:21:25 UTC (rev 236486)
@@ -1662,8 +1662,10 @@
#if ENABLE(WEB_AUTHN)
void WebsiteDataStore::setMockWebAuthenticationConfiguration(MockWebAuthenticationConfiguration&& configuration)
{
- if (!m_authenticatorManager->isMock())
+ if (!m_authenticatorManager->isMock()) {
m_authenticatorManager = makeUniqueRef<MockAuthenticatorManager>(WTFMove(configuration));
+ return;
+ }
static_cast<MockAuthenticatorManager*>(&m_authenticatorManager)->setTestConfiguration(WTFMove(configuration));
}
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes