Title: [153758] trunk/Source/WebCore
- Revision
- 153758
- Author
- [email protected]
- Date
- 2013-08-06 11:39:52 -0700 (Tue, 06 Aug 2013)
Log Message
Improper Calculation of In-band Cue Colors
https://bugs.webkit.org/show_bug.cgi?id=119523
Reviewed by Eric Carlson.
* platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp:
(WebCore::makeRGBA32FromARGBCFArray): Remove redundant multiplication by
255. The internal conversion logic already converts to bytes.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (153757 => 153758)
--- trunk/Source/WebCore/ChangeLog 2013-08-06 18:11:35 UTC (rev 153757)
+++ trunk/Source/WebCore/ChangeLog 2013-08-06 18:39:52 UTC (rev 153758)
@@ -1,3 +1,14 @@
+2013-08-06 Brent Fulgham <[email protected]>
+
+ Improper Calculation of In-band Cue Colors
+ https://bugs.webkit.org/show_bug.cgi?id=119523
+
+ Reviewed by Eric Carlson.
+
+ * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp:
+ (WebCore::makeRGBA32FromARGBCFArray): Remove redundant multiplication by
+ 255. The internal conversion logic already converts to bytes.
+
2013-08-06 Rob Buis <[email protected]>
Speculative build fix after r153754.
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp (153757 => 153758)
--- trunk/Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp 2013-08-06 18:11:35 UTC (rev 153757)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp 2013-08-06 18:39:52 UTC (rev 153758)
@@ -126,7 +126,7 @@
componentArray[i] = component;
}
- color = makeRGBA32FromFloats(componentArray[1] * 255, componentArray[2] * 255, componentArray[3] * 255, componentArray[0] * 255);
+ color = makeRGBA32FromFloats(componentArray[1], componentArray[2], componentArray[3], componentArray[0]);
return true;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes