projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
Source
/
platform
/
image-decoders
/
ImageFrame.cpp
diff --git
a/src/third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp
b/src/third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp
index
ed45388
..
4576eaf
100644
(file)
--- a/
src/third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp
+++ b/
src/third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp
@@
-107,7
+107,7
@@
bool ImageFrame::setSize(int newWidth, int newHeight)
ASSERT(!width() && !height());
m_bitmap.setInfo(SkImageInfo::MakeN32Premul(newWidth, newHeight));
- if (!m_bitmap.
a
llocPixels(m_allocator, 0))
+ if (!m_bitmap.
tryA
llocPixels(m_allocator, 0))
return false;
zeroFillPixelData();