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

Unified Diff: mojo/edk/js/handle.cc

Issue 728133002: Update mojo sdk to rev e01f9a49449381a5eb430c1fd88bf2cae73ec35a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android + ios gyp fixes Created 6 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/js/handle.h ('k') | mojo/edk/js/handle_close_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/js/handle.cc
diff --git a/mojo/edk/js/handle.cc b/mojo/edk/js/handle.cc
index ae3415f05647e777a428eef41ba0bf1516e4c03e..de8f3383836494bc63fc67134da1cc88302797a3 100644
--- a/mojo/edk/js/handle.cc
+++ b/mojo/edk/js/handle.cc
@@ -4,7 +4,6 @@
#include "mojo/edk/js/handle.h"
-#include <sstream>
#include "mojo/edk/js/handle_close_observer.h"
namespace mojo {
@@ -20,23 +19,6 @@ HandleWrapper::~HandleWrapper() {
NotifyCloseObservers();
}
-std::string HandleWrapper::ToString() {
- std::ostringstream oss;
- oss << "[mojo::Handle ";
- if (handle_.is_valid())
- oss << handle_.get().value();
- else
- oss << "null";
- oss << "]";
- return oss.str();
-}
-
-gin::ObjectTemplateBuilder HandleWrapper::GetObjectTemplateBuilder(
- v8::Isolate* isolate) {
- return Wrappable<HandleWrapper>::GetObjectTemplateBuilder(isolate)
- .SetMethod("toString", &HandleWrapper::ToString);
-}
-
void HandleWrapper::Close() {
NotifyCloseObservers();
handle_.reset();
« no previous file with comments | « mojo/edk/js/handle.h ('k') | mojo/edk/js/handle_close_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698