Title: [187983] branches/safari-601.1.46-branch/Source/WebKit2/WebProcess/WebCoreSupport/SessionStateConversion.cpp
Revision
187983
Author
matthew_han...@apple.com
Date
2015-08-05 13:23:53 -0700 (Wed, 05 Aug 2015)

Log Message

Follow-up fix to the merge of r187962. rdar://problem/21827815

Modified Paths

Diff

Modified: branches/safari-601.1.46-branch/Source/WebKit2/WebProcess/WebCoreSupport/SessionStateConversion.cpp (187982 => 187983)


--- branches/safari-601.1.46-branch/Source/WebKit2/WebProcess/WebCoreSupport/SessionStateConversion.cpp	2015-08-05 20:07:37 UTC (rev 187982)
+++ branches/safari-601.1.46-branch/Source/WebKit2/WebProcess/WebCoreSupport/SessionStateConversion.cpp	2015-08-05 20:23:53 UTC (rev 187983)
@@ -189,7 +189,7 @@
 PassRefPtr<HistoryItem> toHistoryItem(const PageState& pageState)
 {
     RefPtr<HistoryItem> historyItem = HistoryItem::create(pageState.mainFrameState.urlString, pageState.title);
-    historyItem.setShouldOpenExternalURLsPolicy(pageState.shouldOpenExternalURLsPolicy);
+    historyItem->setShouldOpenExternalURLsPolicy(pageState.shouldOpenExternalURLsPolicy);
     applyFrameState(*historyItem, pageState.mainFrameState);
 
     return historyItem.release();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to