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

Unified Diff: mojo/gpu/texture_uploader.cc

Issue 1408793006: Convert "return local_var.Pass();" to "return local_var;". (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « mojo/gpu/texture_cache.cc ('k') | mojo/message_pump/handle_watcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/gpu/texture_uploader.cc
diff --git a/mojo/gpu/texture_uploader.cc b/mojo/gpu/texture_uploader.cc
index 57fbd27717eb6c58fc8f1afc78366cf4ccd3ef49..5424f2512d291d471a51b8636a66c895415b009a 100644
--- a/mojo/gpu/texture_uploader.cc
+++ b/mojo/gpu/texture_uploader.cc
@@ -88,7 +88,7 @@ mojo::FramePtr TextureUploader::GetUploadFrame(
pass->quads.push_back(quad.Pass());
frame->passes.push_back(pass.Pass());
- return frame.Pass();
+ return frame;
}
} // namespace mojo
« no previous file with comments | « mojo/gpu/texture_cache.cc ('k') | mojo/message_pump/handle_watcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698