| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index 55af0fde25a8bbb6e215aaaee8ffbdcde197054b..9f27b8aa51974866b9f832c0e909cfc1cbe53862 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -1284,13 +1284,17 @@ void ContentViewCoreImpl::ExitFullscreen(JNIEnv* env, jobject obj) {
|
|
|
| void ContentViewCoreImpl::UpdateTopControlsState(JNIEnv* env,
|
| jobject obj,
|
| - bool enable_hiding,
|
| - bool enable_showing,
|
| + jint constraints,
|
| + jint current,
|
| bool animate) {
|
| RenderViewHost* host = web_contents_->GetRenderViewHost();
|
| + cc::TopControlsState constraints_state =
|
| + static_cast<cc::TopControlsState>(constraints);
|
| + cc::TopControlsState current_state =
|
| + static_cast<cc::TopControlsState>(current);
|
| host->Send(new ViewMsg_UpdateTopControlsState(host->GetRoutingID(),
|
| - enable_hiding,
|
| - enable_showing,
|
| + constraints_state,
|
| + current_state,
|
| animate));
|
| }
|
|
|
|
|