| 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 f887e756572bd84ea8b95cc7a3c35572587125e6..4bb17af87eb7e5ce8768ada299bf00059ef7b10d 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| @@ -2451,7 +2451,12 @@ void RenderWidgetHostViewAura::SnapToPhysicalPixelBoundary() {
|
| // to avoid the web contents area looking blurry we translate the web contents
|
| // in the +x, +y direction to land on the nearest pixel boundary. This may
|
| // cause the bottom and right edges to be clipped slightly, but that's ok.
|
| +#if defined(OS_CHROMEOS)
|
| + aura::Window* snapped = window_->GetToplevelWindow();
|
| +#else
|
| aura::Window* snapped = window_->GetRootWindow();
|
| +#endif
|
| +
|
| if (snapped && snapped != window_)
|
| ui::SnapLayerToPhysicalPixelBoundary(snapped->layer(), window_->layer());
|
|
|
|
|