Index: mojo/public/cpp/bindings/tests/handle_passing_unittest.cc |
diff --git a/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc b/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc |
index d2e287f73dfc2df260cd02fd1688074cc4962ebe..696e6135fe63fe25794791b93292cf9a96629942 100644 |
--- a/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc |
+++ b/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc |
@@ -29,10 +29,6 @@ class StringRecorder { |
class ImportedInterfaceImpl |
: public InterfaceImpl<imported::ImportedInterface> { |
public: |
- virtual void OnConnectionError() MOJO_OVERRIDE { |
- delete this; |
- } |
- |
virtual void DoSomething() MOJO_OVERRIDE { |
do_something_count_++; |
} |
@@ -46,10 +42,6 @@ int ImportedInterfaceImpl::do_something_count_ = 0; |
class SampleNamedObjectImpl : public InterfaceImpl<sample::NamedObject> { |
public: |
- virtual void OnConnectionError() MOJO_OVERRIDE { |
- delete this; |
- } |
- |
virtual void SetName(const mojo::String& name) MOJO_OVERRIDE { |
name_ = name; |
} |
@@ -65,10 +57,6 @@ class SampleNamedObjectImpl : public InterfaceImpl<sample::NamedObject> { |
class SampleFactoryImpl : public InterfaceImpl<sample::Factory> { |
public: |
- virtual void OnConnectionError() MOJO_OVERRIDE { |
- delete this; |
- } |
- |
virtual void DoStuff(sample::RequestPtr request, |
ScopedMessagePipeHandle pipe) MOJO_OVERRIDE { |
std::string text1; |