Title: [218046] trunk/Source/WebKit2
Revision
218046
Author
[email protected]
Date
2017-06-09 22:11:27 -0700 (Fri, 09 Jun 2017)

Log Message

Crash inside WebKit::PluginView::getAuthenticationInfo
https://bugs.webkit.org/show_bug.cgi?id=173083
<rdar://problem/32513144>

Address Darin's review comment.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::getAuthenticationInfo):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (218045 => 218046)


--- trunk/Source/WebKit2/ChangeLog	2017-06-10 05:11:15 UTC (rev 218045)
+++ trunk/Source/WebKit2/ChangeLog	2017-06-10 05:11:27 UTC (rev 218046)
@@ -1,3 +1,14 @@
+2017-06-09  Ryosuke Niwa  <[email protected]>
+
+        Crash inside WebKit::PluginView::getAuthenticationInfo
+        https://bugs.webkit.org/show_bug.cgi?id=173083
+        <rdar://problem/32513144>
+
+        Address Darin's review comment.
+
+        * WebProcess/Plugins/PluginView.cpp:
+        (WebKit::PluginView::getAuthenticationInfo):
+
 2017-06-09  Chris Dumez  <[email protected]>
 
         Use WTF::Function instead of std::function in NetworkProcess code

Modified: trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp (218045 => 218046)


--- trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp	2017-06-10 05:11:15 UTC (rev 218045)
+++ trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp	2017-06-10 05:11:27 UTC (rev 218046)
@@ -1594,7 +1594,7 @@
 
 bool PluginView::getAuthenticationInfo(const ProtectionSpace& protectionSpace, String& username, String& password)
 {
-    RefPtr<Document> contentDocument = m_pluginElement->contentDocument();
+    auto* contentDocument = m_pluginElement->contentDocument();
     if (!contentDocument)
         return false;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to