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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBuffer.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/ImageBuffer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
index 99ca5209e4bbbe0a7d81c64943e4479e2843133b..eb570270fb6ab810f982db162aed2e6534ca5e57 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
@@ -570,7 +570,7 @@ void ImageBuffer::setSurface(std::unique_ptr<ImageBufferSurface> surface) {
// will fail at playback time.
image = image->makeNonTextureImage();
}
- surface->canvas()->drawImage(image.get(), 0, 0);
+ surface->canvas()->drawImage(image, 0, 0);
danakj 2017/03/16 20:06:16 move()
surface->setImageBuffer(this);
if (m_client)

Powered by Google App Engine
This is Rietveld 408576698