Changeset 80073 in webkit


Ignore:
Timestamp:
Mar 1, 2011 5:30:22 PM (13 years ago)
Author:
Joseph Pecoraro
Message:

2011-03-01 Joseph Pecoraro <Joseph Pecoraro>

Unreviewed, missed updating a call to WebCore::computeViewportAttributes
who's prototype changed.

Viewport Warning/Error Messages Are Now Inaccurate
https://bugs.webkit.org/show_bug.cgi?id=53707

  • UIProcess/API/qt/qwkpage.cpp: (QWKPage::viewportAttributesForSize): pass in a value for the document argument.
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r80067 r80073  
     12011-03-01  Joseph Pecoraro  <joepeck@webkit.org>
     2
     3        Unreviewed, missed updating a call to WebCore::computeViewportAttributes
     4        who's prototype changed.
     5
     6        Viewport Warning/Error Messages Are Now Inaccurate
     7        https://bugs.webkit.org/show_bug.cgi?id=53707
     8
     9        * UIProcess/API/qt/qwkpage.cpp:
     10        (QWKPage::viewportAttributesForSize): pass in a value for the document argument.
     11
    1122011-03-01  Anders Carlsson  <andersca@apple.com>
    213
  • trunk/Source/WebKit2/UIProcess/API/qt/qwkpage.cpp

    r79806 r80073  
    558558    int deviceHeight = 864;
    559559
    560     WebCore::ViewportAttributes conf = WebCore::computeViewportAttributes(d->viewportArguments, desktopWidth, deviceWidth, deviceHeight, deviceDPI, availableSize);
     560    WebCore::Document* document = d->page->mainFrame()->document();
     561    WebCore::ViewportAttributes conf = WebCore::computeViewportAttributes(document, d->viewportArguments, desktopWidth, deviceWidth, deviceHeight, deviceDPI, availableSize);
    561562
    562563    result.m_isValid = true;
Note: See TracChangeset for help on using the changeset viewer.