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

Unified Diff: third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.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/PaintGeneratedImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp b/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp
index 0cfdafa76efce9aadba6393ef9b8d9252a85f7f7..5f1201319b5b70039a9f0cc86c6aebb5a808de55 100644
--- a/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp
@@ -23,12 +23,12 @@ void PaintGeneratedImage::draw(PaintCanvas* canvas,
canvas->scale(destRect.width() / srcRect.width(),
destRect.height() / srcRect.height());
canvas->translate(-srcRect.x(), -srcRect.y());
- canvas->drawPicture(m_record.get(), nullptr, &flags);
+ canvas->drawPicture(m_record, nullptr, &flags);
}
void PaintGeneratedImage::drawTile(GraphicsContext& context,
const FloatRect& srcRect) {
- context.drawRecord(m_record.get());
+ context.drawRecord(m_record);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698