Index: net/base/test_completion_callback.cc |
diff --git a/net/base/test_completion_callback.cc b/net/base/test_completion_callback.cc |
index 4fcff74faac2c6bb93c16c77da5f3702612d0dbc..7094592d1dd1d03ce56007d9122e9f30b0a5ce8e 100644 |
--- a/net/base/test_completion_callback.cc |
+++ b/net/base/test_completion_callback.cc |
@@ -35,11 +35,21 @@ TestCompletionCallbackBaseInternal::TestCompletionCallbackBaseInternal() |
waiting_for_result_(false) { |
} |
+TestCompletionCallbackBaseInternal::~TestCompletionCallbackBaseInternal() { |
+} |
+ |
} // namespace internal |
+TestClosure::TestClosure() |
+ : closure_(base::Bind(&TestClosure::DidSetResult, base::Unretained(this))) { |
+} |
+ |
+TestClosure::~TestClosure() { |
+} |
+ |
TestCompletionCallback::TestCompletionCallback() |
: callback_(base::Bind(&TestCompletionCallback::SetResult, |
- base::Unretained(this))) { |
+ base::Unretained(this))) { |
} |
TestCompletionCallback::~TestCompletionCallback() { |
@@ -47,7 +57,7 @@ TestCompletionCallback::~TestCompletionCallback() { |
TestInt64CompletionCallback::TestInt64CompletionCallback() |
: callback_(base::Bind(&TestInt64CompletionCallback::SetResult, |
- base::Unretained(this))) { |
+ base::Unretained(this))) { |
} |
TestInt64CompletionCallback::~TestInt64CompletionCallback() { |