| Index: mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc
|
| diff --git a/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc b/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc
|
| index 533d990ee9afe7401376169940a0d141b2652cb0..e3e9f1e27cd481bedb430bdc1be12dd383ef676b 100644
|
| --- a/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc
|
| +++ b/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc
|
| @@ -41,10 +41,6 @@ class MathCalculatorImpl : public InterfaceImpl<math::Calculator> {
|
| got_connection_ = true;
|
| }
|
|
|
| - virtual void OnConnectionError() MOJO_OVERRIDE {
|
| - delete this;
|
| - }
|
| -
|
| virtual void Clear() MOJO_OVERRIDE {
|
| client()->Output(total_);
|
| }
|
| @@ -164,10 +160,6 @@ class ReentrantServiceImpl : public InterfaceImpl<sample::Service> {
|
| got_connection_ = true;
|
| }
|
|
|
| - virtual void OnConnectionError() MOJO_OVERRIDE {
|
| - delete this;
|
| - }
|
| -
|
| bool got_connection() const {
|
| return got_connection_;
|
| }
|
|
|