Index: android_webview/native/aw_contents.cc |
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc |
index 89c1cf9a33141dce6bcf7bc663d8a637fc994528..f281e8840aa437dc81d659cf4718dde655dce09b 100644 |
--- a/android_webview/native/aw_contents.cc |
+++ b/android_webview/native/aw_contents.cc |
@@ -590,10 +590,8 @@ void AwContents::OnSizeChanged(JNIEnv* env, jobject obj, |
browser_view_renderer_->OnSizeChanged(w, h); |
} |
-void AwContents::SetWindowViewVisibility(JNIEnv* env, jobject obj, |
- bool window_visible, |
- bool view_visible) { |
- browser_view_renderer_->OnVisibilityChanged(window_visible, view_visible); |
+void AwContents::SetVisibility(JNIEnv* env, jobject obj, bool visible) { |
+ browser_view_renderer_->OnVisibilityChanged(visible); |
} |
void AwContents::OnAttachedToWindow(JNIEnv* env, jobject obj, int w, int h) { |