Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: WebCore/platform/image-decoders/ImageDecoder.h

Issue 3573008: Merge 68446 - WebCore: ImageDecoderSkia.cpp needs to check for allocator fail... (Closed) Base URL:
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: WebCore/platform/image-decoders/ImageDecoder.h
--- WebCore/platform/image-decoders/ImageDecoder.h (revision 69026)
+++ WebCore/platform/image-decoders/ImageDecoder.h (working copy)
@@ -84,8 +84,8 @@
void zeroFill();
// Creates a new copy of the image data in |other|, so the two images
- // can be modified independently.
- void copyBitmapData(const RGBA32Buffer& other);
+ // can be modified independently. Returns whether the copy succeeded.
+ bool copyBitmapData(const RGBA32Buffer& other);
// Copies the pixel data at [(startX, startY), (endX, startY)) to the
// same X-coordinates on each subsequent row up to but not including
« no previous file with comments | « WebCore/manual-tests/resources/large-size-image-crash.gif ('k') | WebCore/platform/image-decoders/ImageDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698