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

Unified Diff: third_party/WebKit/Source/platform/graphics/BitmapImage.cpp

Issue 2743363006: Clean up cc/paint interfaces (Closed)
Patch Set: Rebase 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/platform/graphics/BitmapImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
index 766cadf234a13ec79e6d85bfec2216c8681af312..96298c64ef4bf7eba9ac78cfa549858ffe7d9f5e 100644
--- a/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
@@ -298,7 +298,7 @@ void BitmapImage::draw(
}
}
- canvas->drawImageRect(image.get(), adjustedSrcRect, adjustedDstRect, &flags,
+ canvas->drawImageRect(image, adjustedSrcRect, adjustedDstRect, &flags,
danakj 2017/03/16 20:06:15 if you grab the lazygen and uniqueid, you could mo
WebCoreClampingModeToSkiaRectConstraint(clampMode));
if (image->isLazyGenerated())

Powered by Google App Engine
This is Rietveld 408576698