Title: [181439] trunk/Source/WebCore
Revision
181439
Author
[email protected]
Date
2015-03-12 09:40:15 -0700 (Thu, 12 Mar 2015)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (181438 => 181439)


--- trunk/Source/WebCore/ChangeLog	2015-03-12 16:10:30 UTC (rev 181438)
+++ trunk/Source/WebCore/ChangeLog	2015-03-12 16:40:15 UTC (rev 181439)
@@ -1,3 +1,13 @@
+2015-03-12  Csaba Osztrogonác  <[email protected]>
+
+        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):
+
 2015-03-11  Joseph Pecoraro  <[email protected]>
 
         Unreviewed follow-up fix to r181426. Initialize TextPosition with zeros in case it gets used.

Modified: trunk/Source/WebCore/html/parser/HTMLPreloadScanner.cpp (181438 => 181439)


--- trunk/Source/WebCore/html/parser/HTMLPreloadScanner.cpp	2015-03-12 16:10:30 UTC (rev 181438)
+++ trunk/Source/WebCore/html/parser/HTMLPreloadScanner.cpp	2015-03-12 16:40:15 UTC (rev 181439)
@@ -110,6 +110,8 @@
             unsigned sourceSize = 0;
 #if ENABLE(PICTURE_SIZES)
             sourceSize = parseSizesAttribute(m_sizesAttribute, document.renderView(), document.frame());
+#else
+            UNUSED_PARAM(document);
 #endif
             ImageCandidate imageCandidate = bestFitSourceForImageAttributes(m_deviceScaleFactor, m_urlToLoad, m_srcSetAttribute, sourceSize);
             setUrlToLoad(imageCandidate.string.toString(), true);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to