git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30509
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Reviewed by NOBODY (build fix).
+ Build fix for windows, wx and qt
+
+ * html/CanvasPixelArray.h:
+ (WebCore::CanvasPixelArray::set):
+
+2008-02-22 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by NOBODY (build fix).
+
Unbreak windows vcproj
* WebCore.vcproj/WebCore.vcproj:
#ifndef CanvasPixelArray_h
#define CanvasPixelArray_h
+#include <wtf/MathExtras.h>
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
#include <wtf/Vector.h>
value = 0;
else if (value > 255)
value = 255;
- m_data[index] = static_cast<unsigned char>(round(value));
+ m_data[index] = lround(value);
}
bool get(unsigned index, unsigned char& result) const