⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 181439 in webkit


Ignore:
Timestamp:
Mar 12, 2015, 9:40:15 AM (11 years ago)
Author:
Csaba Osztrogonác
Message:

Fix the !ENABLE(PICTURE_SIZES) build
https://bugs.webkit.org/show_bug.cgi?id=142617

Reviewed by Darin Adler.

  • html/parser/HTMLPreloadScanner.cpp:

(WebCore::TokenPreloadScanner::StartTagScanner::processAttributes):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r181434 r181439  
     12015-03-12  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        Fix the !ENABLE(PICTURE_SIZES) build
     4        https://bugs.webkit.org/show_bug.cgi?id=142617
     5
     6        Reviewed by Darin Adler.
     7
     8        * html/parser/HTMLPreloadScanner.cpp:
     9        (WebCore::TokenPreloadScanner::StartTagScanner::processAttributes):
     10
    1112015-03-11  Joseph Pecoraro  <pecoraro@apple.com>
    212
  • trunk/Source/WebCore/html/parser/HTMLPreloadScanner.cpp

    r179928 r181439  
    111111#if ENABLE(PICTURE_SIZES)
    112112            sourceSize = parseSizesAttribute(m_sizesAttribute, document.renderView(), document.frame());
     113#else
     114            UNUSED_PARAM(document);
    113115#endif
    114116            ImageCandidate imageCandidate = bestFitSourceForImageAttributes(m_deviceScaleFactor, m_urlToLoad, m_srcSetAttribute, sourceSize);
Note: See TracChangeset for help on using the changeset viewer.