Commit e4f1483f authored by piotaixr@chromium.org's avatar piotaixr@chromium.org

Added a non-null check in the constructor of StaticBitmapImage

BUG=421033

Review URL: https://codereview.chromium.org/660383003

git-svn-id: svn://svn.chromium.org/blink/trunk@184006 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent fcd7466d
......@@ -21,6 +21,7 @@ PassRefPtr<Image> StaticBitmapImage::create(PassRefPtr<SkImage> image)
StaticBitmapImage::StaticBitmapImage(PassRefPtr<SkImage> image) : m_image(image)
{
ASSERT(m_image);
}
StaticBitmapImage::~StaticBitmapImage() { }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment