diff --git a/content/canvas/src/WebGLContextUtils.cpp b/content/canvas/src/WebGLContextUtils.cpp index c4e14764eeb..32dcc8abfd3 100644 --- a/content/canvas/src/WebGLContextUtils.cpp +++ b/content/canvas/src/WebGLContextUtils.cpp @@ -67,8 +67,8 @@ WebGLContext::ShouldGenerateWarnings() const } CheckedUint32 -WebGLContext::GetImageSize(GLsizei height, - GLsizei width, +WebGLContext::GetImageSize(GLsizei height, + GLsizei width, uint32_t pixelSize, uint32_t packOrUnpackAlignment) { @@ -91,7 +91,7 @@ WebGLContext::SynthesizeGLError(GLenum err) // but if there isn't, then we need to check for a gl error // that may have occurred before this one and use that code // instead. - + MakeContextCurrent(); UpdateWebGLErrorAndClearGLError(); diff --git a/content/canvas/src/WebGLTexelConversions.cpp b/content/canvas/src/WebGLTexelConversions.cpp index ba6926d4269..792e6810c76 100644 --- a/content/canvas/src/WebGLTexelConversions.cpp +++ b/content/canvas/src/WebGLTexelConversions.cpp @@ -16,7 +16,7 @@ namespace { * This class is just a helper to implement WebGLContext::ConvertImage below. * * Design comments: - * + * * WebGLContext::ConvertImage has to handle hundreds of format conversion paths. * It is important to minimize executable code size here. Instead of passing around * a large number of function parameters hundreds of times, we create a @@ -381,4 +381,4 @@ WebGLContext::ConvertImage(size_t width, size_t height, size_t srcStride, size_t } } -} // end namespace mozilla +} // end namespace mozilla