Title: [228186] trunk/Source/WebCore
- Revision
- 228186
- Author
- ross.kirsl...@sony.com
- Date
- 2018-02-06 12:55:08 -0800 (Tue, 06 Feb 2018)
Log Message
Add missing #if ENABLE(VIDEO) after r228092.
https://bugs.webkit.org/show_bug.cgi?id=182539
Reviewed by Michael Catanzaro.
* html/ImageBitmap.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (228185 => 228186)
--- trunk/Source/WebCore/ChangeLog 2018-02-06 19:36:40 UTC (rev 228185)
+++ trunk/Source/WebCore/ChangeLog 2018-02-06 20:55:08 UTC (rev 228186)
@@ -1,3 +1,12 @@
+2018-02-06 Ross Kirsling <ross.kirsl...@sony.com>
+
+ Add missing #if ENABLE(VIDEO) after r228092.
+ https://bugs.webkit.org/show_bug.cgi?id=182539
+
+ Reviewed by Michael Catanzaro.
+
+ * html/ImageBitmap.cpp:
+
2018-02-06 Antoine Quint <grao...@apple.com>
[Modern Media Controls] Test at media/modern-media-controls/tracks-panel/tracks-panel-controls-bar-remains-visible-after-clicking-over-it.html fails
Modified: trunk/Source/WebCore/html/ImageBitmap.cpp (228185 => 228186)
--- trunk/Source/WebCore/html/ImageBitmap.cpp 2018-02-06 19:36:40 UTC (rev 228185)
+++ trunk/Source/WebCore/html/ImageBitmap.cpp 2018-02-06 20:55:08 UTC (rev 228186)
@@ -112,6 +112,7 @@
return false;
}
+#if ENABLE(VIDEO)
static bool taintsOrigin(SecurityOrigin* origin, HTMLVideoElement& video)
{
if (!video.hasSingleSecurityOrigin())
@@ -126,6 +127,7 @@
return !origin->canRequest(url);
}
+#endif
// https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#cropped-to-the-source-rectangle-with-formatting
static ExceptionOr<IntRect> croppedSourceRectangleWithFormatting(IntSize inputSize, ImageBitmapOptions& options, std::optional<IntRect> rect)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes