Chromium Code Reviews| Index: blimp/client/core/blimp_contents_impl.cc |
| diff --git a/blimp/client/core/blimp_contents_impl.cc b/blimp/client/core/blimp_contents_impl.cc |
| index 3e93e9240e82b6f48fafdffb511afe154fe3921a..9530fa8291723cadc1409c897a296b822cabb046 100644 |
| --- a/blimp/client/core/blimp_contents_impl.cc |
| +++ b/blimp/client/core/blimp_contents_impl.cc |
| @@ -58,8 +58,9 @@ void BlimpContentsImpl::RemoveObserver(BlimpContentsObserver* observer) { |
| observers_.RemoveObserver(observer); |
| } |
| -void BlimpContentsImpl::NotifyURLLoaded(const GURL& url) { |
| - FOR_EACH_OBSERVER(BlimpContentsObserver, observers_, OnURLUpdated(url)); |
| +void BlimpContentsImpl::OnNavigationStateChanged() { |
| + FOR_EACH_OBSERVER(BlimpContentsObserver, observers_, |
| + OnURLUpdated(navigation_controller_.GetURL())); |
|
David Trainor- moved to gerrit
2016/07/25 15:57:31
Shouldn't this be OnNavigationStateChanged()? Sho
shaktisahu
2016/07/26 01:25:27
I think so. But then should BlimpContentsObserver
David Trainor- moved to gerrit
2016/07/27 16:55:00
Why? Does it need one?
|
| } |
| } // namespace client |