2
# User Steve Singer <steve@ssinger.info>
3
# Date 1382542740 -3600
4
# Node ID 0787526e0ed6c7d1c5cdb27daedfa2084589d114
5
# Parent 23eb32b0f555df349cc64f0b58e0e64a0a6d4c13
6
Bug 929439 - Include string.h for memcpy. r=bgirard
8
diff --git a/gfx/layers/BufferUnrotate.cpp b/gfx/layers/BufferUnrotate.cpp
9
--- a/gfx/layers/BufferUnrotate.cpp
10
+++ b/gfx/layers/BufferUnrotate.cpp
12
* License, v. 2.0. If a copy of the MPL was not distributed with this
13
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
15
#include <algorithm> // min & max
22
void BufferUnrotate(uint8_t* aBuffer, int aByteWidth, int aHeight,
23
int aByteStride, int aXBoundary, int aYBoundary)
25
if (aXBoundary != 0) {
26
uint8_t* line = new uint8_t[aByteWidth];
27
uint32_t smallStart = 0;
28
uint32_t smallLen = aXBoundary;