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

Unified Diff: mojo/edk/embedder/simple_platform_shared_buffer.cc

Issue 1505983002: EDK: Remove platform_handle_utils*. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « mojo/edk/embedder/platform_handle_utils_posix.cc ('k') | mojo/edk/platform/platform_handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/simple_platform_shared_buffer.cc
diff --git a/mojo/edk/embedder/simple_platform_shared_buffer.cc b/mojo/edk/embedder/simple_platform_shared_buffer.cc
index a3045c459b143d266f0b543ba7461eef12f7fa79..6ef856f61268275f0a70f18cde62b6b8fdca1b16 100644
--- a/mojo/edk/embedder/simple_platform_shared_buffer.cc
+++ b/mojo/edk/embedder/simple_platform_shared_buffer.cc
@@ -20,7 +20,6 @@
#include "base/posix/eintr_wrapper.h"
#include "base/threading/thread_restrictions.h"
#include "build/build_config.h"
-#include "mojo/edk/embedder/platform_handle_utils.h"
#include "mojo/edk/util/scoped_file.h"
#if defined(OS_ANDROID)
@@ -124,7 +123,7 @@ SimplePlatformSharedBuffer::MapNoCheck(size_t offset, size_t length) {
}
ScopedPlatformHandle SimplePlatformSharedBuffer::DuplicatePlatformHandle() {
- return mojo::embedder::DuplicatePlatformHandle(handle_.get());
+ return handle_.Duplicate();
}
ScopedPlatformHandle SimplePlatformSharedBuffer::PassPlatformHandle() {
« no previous file with comments | « mojo/edk/embedder/platform_handle_utils_posix.cc ('k') | mojo/edk/platform/platform_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698