Index: components/resource_provider/resource_provider_impl.cc |
diff --git a/components/resource_provider/resource_provider_impl.cc b/components/resource_provider/resource_provider_impl.cc |
index 8b0168a5929b0b933c2aac85364a8c4ffcdf4a28..93317032cc288d04306100684daa007b184b2c29 100644 |
--- a/components/resource_provider/resource_provider_impl.cc |
+++ b/components/resource_provider/resource_provider_impl.cc |
@@ -5,6 +5,7 @@ |
#include "components/resource_provider/resource_provider_impl.h" |
#include <stddef.h> |
+#include <utility> |
#include "base/bind.h" |
#include "base/files/file_util.h" |
@@ -39,7 +40,7 @@ ScopedHandle GetHandleForPath(const base::FilePath& path) { |
return ScopedHandle(); |
} |
- return ScopedHandle(mojo::Handle(mojo_handle)).Pass(); |
+ return ScopedHandle(mojo::Handle(mojo_handle)); |
} |
} // namespace |
@@ -65,7 +66,7 @@ void ResourceProviderImpl::GetResources(mojo::Array<mojo::String> paths, |
GetPathForResourceNamed(application_path_, paths[i])); |
} |
} |
- callback.Run(handles.Pass()); |
+ callback.Run(std::move(handles)); |
} |
} // namespace resource_provider |