Changeset 163635 in webkit


Ignore:
Timestamp:
Feb 7, 2014 11:10:47 AM (10 years ago)
Author:
andersca@apple.com
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):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r163630 r163635  
     12014-02-07  Anders Carlsson  <andersca@apple.com>
     2
     3        WebPageGroup::setPreferences should set the preferences on all pages in the group
     4        https://bugs.webkit.org/show_bug.cgi?id=128383
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        * UIProcess/WebPageGroup.cpp:
     9        (WebKit::WebPageGroup::setPreferences):
     10
    1112014-02-07  Dan Bernstein  <mitz@apple.com>
    212
  • trunk/Source/WebKit2/UIProcess/WebPageGroup.cpp

    r163597 r163635  
    106106        m_preferences = preferences;
    107107        m_preferences->addPageGroup(this);
     108
     109        for (auto& webPageProxy : m_pages)
     110            webPageProxy->setPreferences(*m_preferences);
    108111    } else {
    109112        m_preferences->removePageGroup(this);
    110113        m_preferences = preferences;
    111114        m_preferences->addPageGroup(this);
     115
     116        for (auto& webPageProxy : m_pages)
     117            webPageProxy->setPreferences(*m_preferences);
    112118
    113119        preferencesDidChange();
Note: See TracChangeset for help on using the changeset viewer.