Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: Source/core/html/ImageData.h

Issue 1328343002: Do not crash when out of memory at ImageData::create(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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: Source/core/html/ImageData.h
diff --git a/Source/core/html/ImageData.h b/Source/core/html/ImageData.h
index 00bd5917b9f19d7b7ccce8514d70aa2f9d4a6ee8..4cb126baa46b68d815be45dfa5bae9e8e78868f9 100644
--- a/Source/core/html/ImageData.h
+++ b/Source/core/html/ImageData.h
@@ -62,7 +62,6 @@ public:
v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const WrapperTypeInfo*, v8::Local<v8::Object> wrapper) override WARN_UNUSED_RETURN;
private:
- explicit ImageData(const IntSize&);
ImageData(const IntSize&, PassRefPtr<DOMUint8ClampedArray>);
static bool validateConstructorArguments(DOMUint8ClampedArray*, unsigned width, unsigned&, ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698