Index: android_webview/browser/in_process_view_renderer.h |
diff --git a/android_webview/browser/in_process_view_renderer.h b/android_webview/browser/in_process_view_renderer.h |
index db859262cbe7b1538e2a084c84f43d8f4c0b9e2d..673b6f3485551de51322f87d750bf18b772f9f74 100644 |
--- a/android_webview/browser/in_process_view_renderer.h |
+++ b/android_webview/browser/in_process_view_renderer.h |
@@ -42,8 +42,7 @@ class InProcessViewRenderer : public BrowserViewRenderer, |
virtual void DrawGL(AwDrawGLInfo* draw_info) OVERRIDE; |
virtual base::android::ScopedJavaLocalRef<jobject> CapturePicture() OVERRIDE; |
virtual void EnableOnNewPicture(bool enabled) OVERRIDE; |
- virtual void OnVisibilityChanged( |
- bool view_visible, bool window_visible) OVERRIDE; |
+ virtual void OnVisibilityChanged(bool visible) OVERRIDE; |
virtual void OnSizeChanged(int width, int height) OVERRIDE; |
virtual void ScrollTo(gfx::Vector2d new_value) OVERRIDE; |
virtual void OnAttachedToWindow(int width, int height) OVERRIDE; |
@@ -77,7 +76,7 @@ class InProcessViewRenderer : public BrowserViewRenderer, |
content::WebContents* web_contents_; |
content::SynchronousCompositor* compositor_; |
- bool view_visible_; |
+ bool visible_; |
float dip_scale_; |
// When true, we should continuously invalidate and keep drawing, for example |