Fix compilation

This commit is contained in:
Aleksei Kuzmin 2017-06-17 01:13:30 +03:00
parent d09cab2e21
commit 48821a6d2a
5 changed files with 5 additions and 6 deletions

View file

@ -45,7 +45,7 @@ bool FrameSubscriber::ShouldCaptureFrame(
gfx::Size view_size = rect.size();
gfx::Size bitmap_size = view_size;
const gfx::NativeView native_view = view_->GetNativeView();
gfx::NativeView native_view = view_->GetNativeView();
const float scale =
display::Screen::GetScreen()->GetDisplayNearestView(native_view)
.device_scale_factor();