Update OffScreenOutputDevice

This commit is contained in:
Cheng Zhao 2017-01-24 14:11:38 +09:00 committed by Kevin Sawicki
parent c2f3bbb3e6
commit 9882e87fbd

View file

@ -22,8 +22,6 @@ OffScreenOutputDevice::~OffScreenOutputDevice() {
void OffScreenOutputDevice::Resize( void OffScreenOutputDevice::Resize(
const gfx::Size& pixel_size, float scale_factor) { const gfx::Size& pixel_size, float scale_factor) {
scale_factor_ = scale_factor;
if (viewport_pixel_size_ == pixel_size) return; if (viewport_pixel_size_ == pixel_size) return;
viewport_pixel_size_ = pixel_size; viewport_pixel_size_ = pixel_size;