From a9fb617196002007e74d1964bb6810c9c7a68716 Mon Sep 17 00:00:00 2001 From: "mlamouri@chromium.org" Date: Tue, 25 Mar 2014 22:20:56 +0000 Subject: ContentViewCore knows the NativeView, no need to ask the rwhv. BUG=None Review URL: https://codereview.chromium.org/210943002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259363 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/android/content_view_core_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc index 2572f79..809722a 100644 --- a/content/browser/android/content_view_core_impl.cc +++ b/content/browser/android/content_view_core_impl.cc @@ -1696,7 +1696,7 @@ void ContentViewCoreImpl::SetAccessibilityEnabled(JNIEnv* env, jobject obj, void ContentViewCoreImpl::SendOrientationChangeEventInternal() { RenderWidgetHostViewAndroid* rwhv = GetRenderWidgetHostViewAndroid(); if (rwhv) - rwhv->UpdateScreenInfo(rwhv->GetNativeView()); + rwhv->UpdateScreenInfo(GetViewAndroid()); RenderViewHostImpl* rvhi = static_cast( web_contents_->GetRenderViewHost()); -- cgit v1.1