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

Unified Diff: third_party/WebKit/Source/core/html/forms/ImageInputType.cpp

Issue 2282413002: Replaced PassRefPtr copies with moves in Source/core. (Closed)
Patch Set: rebased Created 4 years, 3 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/core/html/forms/ImageInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/ImageInputType.cpp b/third_party/WebKit/Source/core/html/forms/ImageInputType.cpp
index b7b1cb428261a51eb5c912a902a38dcaf1370c94..beae5acfdd9adbeddbe629a0ea67c433384f4bdd 100644
--- a/third_party/WebKit/Source/core/html/forms/ImageInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/ImageInputType.cpp
@@ -290,7 +290,7 @@ PassRefPtr<ComputedStyle> ImageInputType::customStyleForLayoutObject(PassRefPtr<
if (!m_useFallbackContent)
return newStyle;
- return HTMLImageFallbackHelper::customStyleForAltText(element(), newStyle);
+ return HTMLImageFallbackHelper::customStyleForAltText(element(), std::move(newStyle));
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698