Changeset 86985 in webkit


Ignore:
Timestamp:
May 20, 2011 2:40:36 PM (13 years ago)
Author:
mdelaney@apple.com
Message:

2011-05-20 Matthew Delaney <mdelaney@apple.com>

Reviewed by Steve Falkenburg.

Default min DOM Timer interval is not set soon enough for first page to pick it up in WK2
https://bugs.webkit.org/show_bug.cgi?id=61215

  • WebProcess/WebPage/WebPage.cpp: Simply moving the DOM min timer interval setting to before the first page creation.
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r86981 r86985  
     12011-05-20  Matthew Delaney  <mdelaney@apple.com>
     2
     3        Reviewed by Steve Falkenburg.
     4
     5        Default min DOM Timer interval is not set soon enough for first page to pick it up in WK2
     6        https://bugs.webkit.org/show_bug.cgi?id=61215
     7
     8        * WebProcess/WebPage/WebPage.cpp: Simply moving the DOM min timer interval setting to before the first page creation.
     9
    1102011-05-20  Simon Fraser  <simon.fraser@apple.com>
    211
  • trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp

    r86812 r86985  
    195195{
    196196    ASSERT(m_pageID);
     197    // FIXME: This is a non-ideal location for this Setting and
     198    // 4ms should be adopted project-wide now, https://bugs.webkit.org/show_bug.cgi?id=61214
     199    Settings::setDefaultMinDOMTimerInterval(0.004);
    197200
    198201    Page::PageClients pageClients;
     
    224227
    225228    platformInitialize();
    226     Settings::setDefaultMinDOMTimerInterval(0.004);
    227229
    228230    m_drawingArea = DrawingArea::create(this, parameters);
Note: See TracChangeset for help on using the changeset viewer.