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

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

Issue 2738573002: Streamline the presentation of ImageBitmapRenderingContext (Closed)
Patch Set: 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 6552e79690c48df57a9ad14f315fc8489a5b6096..d25abcc437c8afad3ff520af668c430f2d9bf2af 100644
--- a/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
+++ b/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
@@ -140,7 +140,7 @@ TEST_F(ImageBitmapTest, ImageResourceConsistency) {
imageElement->cachedImage()->getImage()->imageForCurrentFrame(
ColorBehavior::transformToTargetForTesting()));
- StaticBitmapImage* emptyImage = imageBitmapOutsideCrop->bitmapImage();
+ RefPtr<StaticBitmapImage> emptyImage = imageBitmapOutsideCrop->bitmapImage();
ASSERT_NE(emptyImage->imageForCurrentFrame(
ColorBehavior::transformToTargetForTesting()),
imageElement->cachedImage()->getImage()->imageForCurrentFrame(

Powered by Google App Engine
This is Rietveld 408576698