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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.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/modules/accessibility/AXLayoutObject.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
index 73359759e1a26dc3c8f0988ada36871bbd1cb017..0ae1f394413160b205eb422b4a273ea07415ff8d 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
@@ -896,7 +896,7 @@ String AXLayoutObject::imageDataUrl(const IntSize& maxSize) const {
if (!imageBitmap)
return String();
- StaticBitmapImage* bitmapImage = imageBitmap->bitmapImage();
+ RefPtr<StaticBitmapImage> bitmapImage = imageBitmap->bitmapImage();
if (!bitmapImage)
return String();

Powered by Google App Engine
This is Rietveld 408576698