Fixed a bug in the WaitUntilNavigationCompletes automation command.
Previously the hook would try to use reply_message, despite it being
owned by a scoped_ptr in the NavigationNotificationObserver. This
resulted in a segfault when the page was already loaded, as the
scoped_ptr was deleting the object when the observer was deleted.
BUG=None
TEST=functional/apptest.py
Review URL: https://chromiumcodereview.appspot.com/10535081
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141278 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed