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

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

Issue 2044183004: Debugging for https://crbug.com/601435. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/edk/js/handle.h ('k') | mojo/public/js/connector.js » ('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 9f9f1619cc7a6b0672600293aeda5e57bdede753..d2d6adfa86d243dd475b5284bf9aeb81f6a6697f 100644
--- a/mojo/edk/js/handle.cc
+++ b/mojo/edk/js/handle.cc
@@ -13,15 +13,18 @@ namespace js {
gin::WrapperInfo HandleWrapper::kWrapperInfo = { gin::kEmbedderNativeGin };
HandleWrapper::HandleWrapper(MojoHandle handle)
- : handle_(mojo::Handle(handle)) {
+ : handle_(mojo::Handle(handle)), handle_value_(handle) {
+ LOG(INFO) << "Create " << handle_->value();
}
HandleWrapper::~HandleWrapper() {
NotifyCloseObservers();
+ LOG(INFO) << "Delete " << handle_->value() << " (" << handle_value_ << ")";
}
void HandleWrapper::Close() {
NotifyCloseObservers();
+ LOG(INFO) << "Close " << handle_->value();
handle_.reset();
}
« no previous file with comments | « mojo/edk/js/handle.h ('k') | mojo/public/js/connector.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698