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

Unified Diff: third_party/WebKit/Source/modules/webgl/GLStringQuery.h

Issue 2909613002: Replaced usage of RefPtr::Release with std::move wraps. (Closed)
Patch Set: Created 3 years, 7 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/modules/webgl/GLStringQuery.h
diff --git a/third_party/WebKit/Source/modules/webgl/GLStringQuery.h b/third_party/WebKit/Source/modules/webgl/GLStringQuery.h
index 2ea42f5715d27e06119c7173add433df1e4c20df..bd80d42e678a3c9cac6c61bbd7876111e19a23ac 100644
--- a/third_party/WebKit/Source/modules/webgl/GLStringQuery.h
+++ b/third_party/WebKit/Source/modules/webgl/GLStringQuery.h
@@ -78,7 +78,7 @@ class GLStringQuery {
// The returnedLength excludes the null terminator. If this check wasn't
// true, then we'd need to tell the returned String the real length.
DCHECK_EQ(returned_length + 1, length);
- return String(name_impl.Release());
+ return String(std::move(name_impl));
}
private:

Powered by Google App Engine
This is Rietveld 408576698