Title: [223939] trunk/Source/WebCore
Revision
223939
Author
achristen...@apple.com
Date
2017-10-24 17:09:35 -0700 (Tue, 24 Oct 2017)

Log Message

Fix Windows build after r223925
https://bugs.webkit.org/show_bug.cgi?id=178687

* html/ImageBitmap.cpp:
(WebCore::interpolationQualityForResizeQuality):
Visual Studio was complaining that not all control paths returned a value.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (223938 => 223939)


--- trunk/Source/WebCore/ChangeLog	2017-10-24 23:33:03 UTC (rev 223938)
+++ trunk/Source/WebCore/ChangeLog	2017-10-25 00:09:35 UTC (rev 223939)
@@ -1,3 +1,12 @@
+2017-10-24  Alex Christensen  <achristen...@webkit.org>
+
+        Fix Windows build after r223925
+        https://bugs.webkit.org/show_bug.cgi?id=178687
+
+        * html/ImageBitmap.cpp:
+        (WebCore::interpolationQualityForResizeQuality):
+        Visual Studio was complaining that not all control paths returned a value.
+
 2017-10-24  Youenn Fablet  <you...@apple.com>
 
         Enable service worker to use cache storage api

Modified: trunk/Source/WebCore/html/ImageBitmap.cpp (223938 => 223939)


--- trunk/Source/WebCore/html/ImageBitmap.cpp	2017-10-24 23:33:03 UTC (rev 223938)
+++ trunk/Source/WebCore/html/ImageBitmap.cpp	2017-10-25 00:09:35 UTC (rev 223939)
@@ -164,6 +164,8 @@
     case ImageBitmapOptions::ResizeQuality::High:
         return InterpolationHigh;
     }
+    ASSERT_NOT_REACHED();
+    return InterpolationDefault;
 }
 
 // FIXME: More steps from https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#cropped-to-the-source-rectangle-with-formatting
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to