| Index: content/browser/renderer_host/render_widget_host_view_aura.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| index 1a8db6dc1241cc986caeb29af4cfc1677de1a054..ad0848f420febc432a6f0590aac212422222ab1f 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| @@ -245,6 +245,7 @@ void RenderWidgetHostViewAura::InitAsChild(
|
| gfx::NativeView parent_view) {
|
| window_->Init(ui::LAYER_TEXTURED);
|
| window_->SetName("RenderWidgetHostViewAura");
|
| + window_->layer()->set_scale_content(false);
|
| }
|
|
|
| void RenderWidgetHostViewAura::InitAsPopup(
|
| @@ -258,6 +259,7 @@ void RenderWidgetHostViewAura::InitAsPopup(
|
| window_->SetName("RenderWidgetHostViewAura");
|
|
|
| window_->SetParent(NULL);
|
| + window_->layer()->set_scale_content(false);
|
| SetBounds(pos);
|
| Show();
|
| }
|
| @@ -489,13 +491,6 @@ void RenderWidgetHostViewAura::OnAcceleratedCompositingStateChange() {
|
| // the UpdateRect/AcceleratedSurfaceBuffersSwapped messages so that we have
|
| // fewer inconsistent temporary states.
|
| needs_update_texture_ = true;
|
| -
|
| - // Don't scale contents on high density screen when content is accelerated
|
| - // because renderer takes care of it.
|
| - // TODO(pkotwicz): Implement DIP backing store such that renderer always
|
| - // scales web contents.
|
| - window_->layer()->set_scale_content(
|
| - !host_->is_accelerated_compositing_active());
|
| }
|
|
|
| void RenderWidgetHostViewAura::UpdateExternalTexture() {
|
|
|