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

Unified Diff: third_party/WebKit/Source/core/html/HTMLVideoElement.cpp

Issue 2957513002: Removed calls to RefPtr::Release in return statements with auto move. (Closed)
Patch Set: rebased Created 3 years, 6 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/HTMLVideoElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
index 6bc214b5d1fc0da747bf4331266da4b3814162eb..8924dc7c1d202e44fd945a26ac59884c0f51c35c 100644
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
@@ -456,7 +456,7 @@ PassRefPtr<Image> HTMLVideoElement::GetSourceImageForCanvas(
}
*status = kNormalSourceImageStatus;
- return snapshot.Release();
+ return snapshot;
}
bool HTMLVideoElement::WouldTaintOrigin(
« no previous file with comments | « third_party/WebKit/Source/core/html/FormData.cpp ('k') | third_party/WebKit/Source/core/html/forms/DateTimeEditElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698