Title: [99936] trunk/Source/WebCore
- Revision
- 99936
- Author
- [email protected]
- Date
- 2011-11-11 01:44:39 -0800 (Fri, 11 Nov 2011)
Log Message
2011-11-11 Nikolas Zimmermann <[email protected]>
Not reviewed. Unbreak my 32bit SL build.
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::updateOrRemoveFilterEffect): Use narrowPrecisionToFloat() to convert float -> double.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (99935 => 99936)
--- trunk/Source/WebCore/ChangeLog 2011-11-11 09:03:42 UTC (rev 99935)
+++ trunk/Source/WebCore/ChangeLog 2011-11-11 09:44:39 UTC (rev 99936)
@@ -1,3 +1,10 @@
+2011-11-11 Nikolas Zimmermann <[email protected]>
+
+ Not reviewed. Unbreak my 32bit SL build.
+
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::updateOrRemoveFilterEffect): Use narrowPrecisionToFloat() to convert float -> double.
+
2011-10-28 Philippe Normand <[email protected]>
HRTF Database consolidation
Modified: trunk/Source/WebCore/rendering/RenderLayer.cpp (99935 => 99936)
--- trunk/Source/WebCore/rendering/RenderLayer.cpp 2011-11-11 09:03:42 UTC (rev 99935)
+++ trunk/Source/WebCore/rendering/RenderLayer.cpp 2011-11-11 09:44:39 UTC (rev 99936)
@@ -57,6 +57,7 @@
#include "FEMerge.h"
#include "FilterEffectRenderer.h"
#endif
+#include "FloatConversion.h"
#include "FloatPoint3D.h"
#include "FloatRect.h"
#include "FocusController.h"
@@ -4397,7 +4398,7 @@
if (operation->getOperationType() == FilterOperation::HUE_ROTATE) {
const BasicColorMatrixFilterOperation* colorMatrixOperation = static_cast<const BasicColorMatrixFilterOperation*>(operation);
Vector<float> inputParameters;
- inputParameters.append(colorMatrixOperation->amount());
+ inputParameters.append(narrowPrecisionToFloat(colorMatrixOperation->amount()));
effect = FEColorMatrix::create(m_filter.get(), FECOLORMATRIX_TYPE_HUEROTATE, inputParameters);
}
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes