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

Unified Diff: components/leveldb/leveldb_mojo_proxy.cc

Issue 2592623002: mojo:: Introduce InterfaceRequest ctor that takes in InterfacePtr* (Closed)
Patch Set: Rebase + response to review Created 4 years 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: components/leveldb/leveldb_mojo_proxy.cc
diff --git a/components/leveldb/leveldb_mojo_proxy.cc b/components/leveldb/leveldb_mojo_proxy.cc
index 1e51f1061a3bcfb1decac63b293ab967076f7c01..74446206302c49764ee2051e393359fa5c93b334 100644
--- a/components/leveldb/leveldb_mojo_proxy.cc
+++ b/components/leveldb/leveldb_mojo_proxy.cc
@@ -226,7 +226,7 @@ void LevelDBMojoProxy::GetChildrenImpl(
std::vector<std::string>* out_contents,
filesystem::mojom::FileError* out_error) {
filesystem::mojom::DirectoryPtr target;
- filesystem::mojom::DirectoryRequest proxy = MakeRequest(&target);
+ filesystem::mojom::DirectoryRequest proxy(&target);
bool completed = dir->directory->OpenDirectory(
name, std::move(proxy),
filesystem::mojom::kFlagRead | filesystem::mojom::kFlagWrite, out_error);
@@ -292,7 +292,7 @@ void LevelDBMojoProxy::LockFileImpl(OpaqueDir* dir,
// Since a lock is associated with a file descriptor, we need to open and
// have a persistent file on the other side of the connection.
filesystem::mojom::FilePtr target;
- filesystem::mojom::FileRequest proxy = MakeRequest(&target);
+ filesystem::mojom::FileRequest proxy(&target);
bool completed = dir->directory->OpenFile(path, std::move(proxy),
filesystem::mojom::kFlagOpenAlways |
filesystem::mojom::kFlagRead |
« no previous file with comments | « components/exo/surface.cc ('k') | components/password_manager/content/browser/content_password_manager_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698