| Index: content/browser/web_contents/web_contents_android.cc
|
| diff --git a/content/browser/web_contents/web_contents_android.cc b/content/browser/web_contents/web_contents_android.cc
|
| index d9a6e2bb803a2b5bdab22fdbf191694268a65cba..02cc13c14e81deb0bbc436e239cf96898e523949 100644
|
| --- a/content/browser/web_contents/web_contents_android.cc
|
| +++ b/content/browser/web_contents/web_contents_android.cc
|
| @@ -429,7 +429,7 @@ void WebContentsAndroid::ExitFullscreen(JNIEnv* env,
|
| web_contents_->ExitFullscreen(/*will_cause_resize=*/false);
|
| }
|
|
|
| -void WebContentsAndroid::UpdateTopControlsState(
|
| +void WebContentsAndroid::UpdateBrowserControlsState(
|
| JNIEnv* env,
|
| const JavaParamRef<jobject>& obj,
|
| bool enable_hiding,
|
| @@ -438,10 +438,8 @@ void WebContentsAndroid::UpdateTopControlsState(
|
| RenderViewHost* host = web_contents_->GetRenderViewHost();
|
| if (!host)
|
| return;
|
| - host->Send(new ViewMsg_UpdateTopControlsState(host->GetRoutingID(),
|
| - enable_hiding,
|
| - enable_showing,
|
| - animate));
|
| + host->Send(new ViewMsg_UpdateBrowserControlsState(
|
| + host->GetRoutingID(), enable_hiding, enable_showing, animate));
|
| }
|
|
|
| void WebContentsAndroid::ShowImeIfNeeded(JNIEnv* env,
|
|
|