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

Unified Diff: mojo/edk/system/platform_handle_dispatcher.h

Issue 1478503003: EDK: Convert most uses of PlatformHandleVector to std::vector<ScopedPlatformHandle>. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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/system/message_pipe_dispatcher.cc ('k') | mojo/edk/system/platform_handle_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/platform_handle_dispatcher.h
diff --git a/mojo/edk/system/platform_handle_dispatcher.h b/mojo/edk/system/platform_handle_dispatcher.h
index d9b809ff0976ab6a49a063c5ec6dcd87260b625c..16ce34083e868fc550e42afb46957c59226a4ea6 100644
--- a/mojo/edk/system/platform_handle_dispatcher.h
+++ b/mojo/edk/system/platform_handle_dispatcher.h
@@ -34,7 +34,7 @@ class PlatformHandleDispatcher final : public SimpleDispatcher {
Channel* channel,
const void* source,
size_t size,
- embedder::PlatformHandleVector* platform_handles);
+ std::vector<embedder::ScopedPlatformHandle>* platform_handles);
private:
explicit PlatformHandleDispatcher(
@@ -53,7 +53,7 @@ class PlatformHandleDispatcher final : public SimpleDispatcher {
Channel* channel,
void* destination,
size_t* actual_size,
- embedder::PlatformHandleVector* platform_handles) override
+ std::vector<embedder::ScopedPlatformHandle>* platform_handles) override
MOJO_NOT_THREAD_SAFE;
embedder::ScopedPlatformHandle platform_handle_ MOJO_GUARDED_BY(mutex());
« no previous file with comments | « mojo/edk/system/message_pipe_dispatcher.cc ('k') | mojo/edk/system/platform_handle_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698