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

Unified Diff: third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp

Issue 2738573002: Streamline the presentation of ImageBitmapRenderingContext (Closed)
Patch Set: Fix crash in gpu test Created 3 years, 9 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: third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
diff --git a/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp b/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
index 6a958c40e72c3ad2b15a1df828ccb15010c27a08..d72c6e31140e76af5da893e3bf5c4be18c189e96 100644
--- a/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
+++ b/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
@@ -134,7 +134,7 @@ TEST_F(ImageBitmapTest, ImageResourceConsistency) {
ASSERT_NE(imageBitmapExteriorCrop->bitmapImage()->imageForCurrentFrame(),
imageElement->cachedImage()->getImage()->imageForCurrentFrame());
- StaticBitmapImage* emptyImage = imageBitmapOutsideCrop->bitmapImage();
+ RefPtr<StaticBitmapImage> emptyImage = imageBitmapOutsideCrop->bitmapImage();
ASSERT_NE(emptyImage->imageForCurrentFrame(),
imageElement->cachedImage()->getImage()->imageForCurrentFrame());
}

Powered by Google App Engine
This is Rietveld 408576698