| Index: Source/web/WebElement.cpp
|
| diff --git a/Source/web/WebElement.cpp b/Source/web/WebElement.cpp
|
| index de6aba3201c9f682fa7c37200c7eaa10112aee52..af484abcc2d61880ee9f09bfa652d763b1c0ac88 100644
|
| --- a/Source/web/WebElement.cpp
|
| +++ b/Source/web/WebElement.cpp
|
| @@ -158,11 +158,7 @@ WebImage WebElement::imageContents()
|
| if (!image)
|
| return WebImage();
|
|
|
| - RefPtr<NativeImageSkia> bitmap = image->nativeImageForCurrentFrame();
|
| - if (!bitmap)
|
| - return WebImage();
|
| -
|
| - return bitmap->bitmap();
|
| + return WebImage(image->bitmapForCurrentFrame());
|
| }
|
|
|
| WebElement::WebElement(const PassRefPtrWillBeRawPtr<Element>& elem)
|
|
|