Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index 27c51ca43ab2b8b2f823c10db169ad4b1b353694..1168b6b67165702fec2ca9f61915600e526f3113 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -1344,16 +1344,11 @@ bool RenderWidgetHostImpl::IsInOverscrollGesture() const { |
} |
void RenderWidgetHostImpl::GetWebScreenInfo(WebKit::WebScreenInfo* result) { |
-#if defined(OS_POSIX) || defined(USE_AURA) |
if (GetView()) { |
static_cast<RenderWidgetHostViewPort*>(GetView())->GetScreenInfo(result); |
} else { |
RenderWidgetHostViewPort::GetDefaultScreenInfo(result); |
} |
-#else |
- *result = WebKit::WebScreenInfoFactory::screenInfo( |
- gfx::NativeViewFromId(GetNativeViewId())); |
-#endif |
} |
void RenderWidgetHostImpl::Destroy() { |