Bug 859024 - Remove the MSVC exemption for FAIL_ON_WARNINGS in content/canvas/src. r=jmuizelaar

This commit is contained in:
Masatoshi Kimura 2013-04-28 07:10:36 +09:00
parent d838e54180
commit 32dba1647d
2 changed files with 1 additions and 3 deletions

View File

@ -12,9 +12,7 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkconcvs_s
LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
CPPSRCS = \
CanvasImageCache.cpp \

View File

@ -359,7 +359,7 @@ WebGLContext::ConvertImage(size_t width, size_t height, size_t srcStride, size_t
ptrdiff_t signedDstStride = dstStride;
if (mPixelStoreFlipY) {
dstStart = dst + (height - 1) * dstStride;
signedDstStride = -dstStride;
signedDstStride = -signedDstStride;
}
WebGLImageConverter converter(width, height, src, dstStart, srcStride, signedDstStride);