adds invalidate method and proper resizing
This commit is contained in:
parent
d1274bb79f
commit
b4c220613f
6 changed files with 31 additions and 5 deletions
|
@ -24,6 +24,8 @@ void OffScreenOutputDevice::Resize(
|
|||
const gfx::Size& pixel_size, float scale_factor) {
|
||||
scale_factor_ = scale_factor;
|
||||
|
||||
printf("OffScreenOutputDevice::Resize\n");
|
||||
|
||||
if (viewport_pixel_size_ == pixel_size) return;
|
||||
viewport_pixel_size_ = pixel_size;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue