Index: content/renderer/presentation/presentation_dispatcher.cc |
diff --git a/content/renderer/presentation/presentation_dispatcher.cc b/content/renderer/presentation/presentation_dispatcher.cc |
index bcc2eacc4c44ed1e5b6d7b492616e62c6deeeed0..f92f371d0758213accf02249e03006348e1c16a8 100644 |
--- a/content/renderer/presentation/presentation_dispatcher.cc |
+++ b/content/renderer/presentation/presentation_dispatcher.cc |
@@ -308,6 +308,10 @@ void PresentationDispatcher::DidCommitProvisionalLoad( |
std::swap(message_request_queue_, empty); |
} |
+void PresentationDispatcher::OnDestruct() { |
+ delete this; |
+} |
+ |
void PresentationDispatcher::OnScreenAvailabilityUpdated( |
const mojo::String& url, bool available) { |
const std::string& availability_url = url.get(); |