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

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

Issue 2743363006: Clean up cc/paint interfaces (Closed)
Patch Set: Fix PaintControllerTest v2 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/StaticBitmapImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp
index 09e3b64b551d2e224db1dfcf3052ef253873c382..54dc733e66e6d9b76e753fe61eac6ea536f81f84 100644
--- a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp
@@ -35,7 +35,7 @@ void StaticBitmapImage::drawHelper(PaintCanvas* canvas,
if (dstRect.isEmpty() || adjustedSrcRect.isEmpty())
return; // Nothing to draw.
- canvas->drawImageRect(image.get(), adjustedSrcRect, dstRect, &flags,
+ canvas->drawImageRect(std::move(image), adjustedSrcRect, dstRect, &flags,
WebCoreClampingModeToSkiaRectConstraint(clampMode));
}

Powered by Google App Engine
This is Rietveld 408576698