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

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

Issue 2761693002: Wrapped PassRefPtrs in move where passed to RefPtr constructor. (Closed)
Patch Set: Added move wraps for multiple instances in 1 line. 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/DecodingImageGenerator.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp
index 8dfd3b4b943c314b2834a3fda7eb5df73919c641..f9033f22c0f545a9761e4369c0feb97501520b1d 100644
--- a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp
+++ b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp
@@ -44,7 +44,7 @@ DecodingImageGenerator::DecodingImageGenerator(
size_t index,
uint32_t uniqueID)
: SkImageGenerator(info, uniqueID),
- m_frameGenerator(frameGenerator),
+ m_frameGenerator(std::move(frameGenerator)),
m_data(data),
m_allDataReceived(allDataReceived),
m_frameIndex(index),

Powered by Google App Engine
This is Rietveld 408576698