Commit 59aab7e4 authored by groby@chromium.org's avatar groby@chromium.org

[WebIntents] Fix for default service crash.


R=gbillock@chromium.org
BUG=none


Review URL: https://chromiumcodereview.appspot.com/10832332

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152400 0039d316-1c4b-4281-b951-d872f2087c98
parent 68b63bc6
...@@ -862,6 +862,8 @@ void WebIntentPickerController::SetDialogState(WebIntentPickerState state) { ...@@ -862,6 +862,8 @@ void WebIntentPickerController::SetDialogState(WebIntentPickerState state) {
break; break;
case kPickerHidden: case kPickerHidden:
// Once the picker dialog is closed, abandon all pending callbacks.
weak_ptr_factory_.InvalidateWeakPtrs();
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment