| Index: content/renderer/screen_orientation/screen_orientation_dispatcher.cc
|
| diff --git a/content/renderer/screen_orientation/screen_orientation_dispatcher.cc b/content/renderer/screen_orientation/screen_orientation_dispatcher.cc
|
| index f0060ef0b2127ad16113a5b36b936729f88e2e90..5f2071d377945cab190ed1bfd71ddf2da976e616 100644
|
| --- a/content/renderer/screen_orientation/screen_orientation_dispatcher.cc
|
| +++ b/content/renderer/screen_orientation/screen_orientation_dispatcher.cc
|
| @@ -31,6 +31,10 @@ bool ScreenOrientationDispatcher::OnMessageReceived(
|
| return handled;
|
| }
|
|
|
| +void ScreenOrientationDispatcher::OnDestruct() {
|
| + delete this;
|
| +}
|
| +
|
| void ScreenOrientationDispatcher::OnLockSuccess(int request_id) {
|
| blink::WebLockOrientationCallback* callback =
|
| pending_callbacks_.Lookup(request_id);
|
|
|