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: |