diff --git a/atom/browser/osr/osr_output_device.cc b/atom/browser/osr/osr_output_device.cc index dd806136338e..5f605f668c9b 100644 --- a/atom/browser/osr/osr_output_device.cc +++ b/atom/browser/osr/osr_output_device.cc @@ -22,8 +22,6 @@ OffScreenOutputDevice::~OffScreenOutputDevice() { void OffScreenOutputDevice::Resize( const gfx::Size& pixel_size, float scale_factor) { - scale_factor_ = scale_factor; - if (viewport_pixel_size_ == pixel_size) return; viewport_pixel_size_ = pixel_size;