mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1276927: Fix B2G widget code to build with Android NDK, r=fabrice
MozReview-Commit-ID: Acewzo0hNEE
This commit is contained in:
parent
eeea2c125f
commit
12f1577aa6
@ -16,6 +16,7 @@
|
||||
#include <algorithm>
|
||||
#include <endian.h>
|
||||
#include <fcntl.h>
|
||||
#include <pthread.h>
|
||||
#include <string>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/stat.h>
|
||||
@ -601,7 +602,7 @@ AnimationThread(void *)
|
||||
name.length() >= 256)
|
||||
continue;
|
||||
|
||||
part.frames.push_back();
|
||||
part.frames.resize(part.frames.size() + 1);
|
||||
AnimationFrame &frame = part.frames.back();
|
||||
strcpy(frame.path, name.c_str());
|
||||
frame.file = reader.GetLocalEntry(entry);
|
||||
|
Loading…
Reference in New Issue
Block a user