| Index: chromecast/browser/android/cast_window_android.cc
|
| diff --git a/chromecast/browser/android/cast_window_android.cc b/chromecast/browser/android/cast_window_android.cc
|
| index 1fe64a879aee6361a395e4a9964935957fe00c90..7c2e3547b308203429218eb7755cf2ec2eb5bdfe 100644
|
| --- a/chromecast/browser/android/cast_window_android.cc
|
| +++ b/chromecast/browser/android/cast_window_android.cc
|
| @@ -86,7 +86,7 @@ void CastWindowAndroid::Close() {
|
| // Close page first, which fires the window.unload event. The WebContents
|
| // itself will be destroyed after browser-process has received renderer
|
| // notification that the page is closed.
|
| - web_contents_->GetRenderViewHost()->ClosePage();
|
| + web_contents_->ClosePage();
|
| }
|
|
|
| void CastWindowAndroid::Destroy() {
|
|
|