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

Unified Diff: mojo/bindings/js/core.cc

Issue 651523002: [Mojo] Fix the namespace for HandleWrapper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/apps/js/test/handle_unittest.cc ('k') | mojo/bindings/js/handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/bindings/js/core.cc
diff --git a/mojo/bindings/js/core.cc b/mojo/bindings/js/core.cc
index e116db1a89abb3c5a59ef582006d79eec0c683f8..f9e43591a755ef6befcac32dfc259e16b27abefc 100644
--- a/mojo/bindings/js/core.cc
+++ b/mojo/bindings/js/core.cc
@@ -24,7 +24,7 @@ namespace js {
namespace {
-MojoResult CloseHandle(gin::Handle<gin::HandleWrapper> handle) {
+MojoResult CloseHandle(gin::Handle<HandleWrapper> handle) {
if (!handle->get().is_valid())
return MOJO_RESULT_INVALID_ARGUMENT;
handle->Close();
@@ -84,7 +84,7 @@ gin::Dictionary CreateMessagePipe(const gin::Arguments& args) {
MojoResult WriteMessage(
mojo::Handle handle,
const gin::ArrayBufferView& buffer,
- const std::vector<gin::Handle<gin::HandleWrapper> >& handles,
+ const std::vector<gin::Handle<HandleWrapper> >& handles,
MojoWriteMessageFlags flags) {
std::vector<MojoHandle> raw_handles(handles.size());
for (size_t i = 0; i < handles.size(); ++i)
@@ -231,7 +231,7 @@ gin::Dictionary ReadData(const gin::Arguments& args,
// The drainData data pipe handle argument is closed automatically.
v8::Handle<v8::Value> DoDrainData(gin::Arguments* args,
- gin::Handle<gin::HandleWrapper> handle) {
+ gin::Handle<HandleWrapper> handle) {
return (new DrainData(args->isolate(), handle->release()))->GetPromise();
}
« no previous file with comments | « mojo/apps/js/test/handle_unittest.cc ('k') | mojo/bindings/js/handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698