Title: [163635] trunk/Source/WebKit2
- Revision
- 163635
- Author
- ander...@apple.com
- Date
- 2014-02-07 11:10:47 -0800 (Fri, 07 Feb 2014)
Log Message
WebPageGroup::setPreferences should set the preferences on all pages in the group
https://bugs.webkit.org/show_bug.cgi?id=128383
Reviewed by Alexey Proskuryakov.
* UIProcess/WebPageGroup.cpp:
(WebKit::WebPageGroup::setPreferences):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (163634 => 163635)
--- trunk/Source/WebKit2/ChangeLog 2014-02-07 18:53:01 UTC (rev 163634)
+++ trunk/Source/WebKit2/ChangeLog 2014-02-07 19:10:47 UTC (rev 163635)
@@ -1,3 +1,13 @@
+2014-02-07 Anders Carlsson <ander...@apple.com>
+
+ WebPageGroup::setPreferences should set the preferences on all pages in the group
+ https://bugs.webkit.org/show_bug.cgi?id=128383
+
+ Reviewed by Alexey Proskuryakov.
+
+ * UIProcess/WebPageGroup.cpp:
+ (WebKit::WebPageGroup::setPreferences):
+
2014-02-07 Dan Bernstein <m...@apple.com>
[Cocoa] WKRemoteObjectInterface doesn’t support aribtrary argument classes
Modified: trunk/Source/WebKit2/UIProcess/WebPageGroup.cpp (163634 => 163635)
--- trunk/Source/WebKit2/UIProcess/WebPageGroup.cpp 2014-02-07 18:53:01 UTC (rev 163634)
+++ trunk/Source/WebKit2/UIProcess/WebPageGroup.cpp 2014-02-07 19:10:47 UTC (rev 163635)
@@ -105,11 +105,17 @@
if (!m_preferences) {
m_preferences = preferences;
m_preferences->addPageGroup(this);
+
+ for (auto& webPageProxy : m_pages)
+ webPageProxy->setPreferences(*m_preferences);
} else {
m_preferences->removePageGroup(this);
m_preferences = preferences;
m_preferences->addPageGroup(this);
+ for (auto& webPageProxy : m_pages)
+ webPageProxy->setPreferences(*m_preferences);
+
preferencesDidChange();
}
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes