Refactor osr_output_device
This commit is contained in:
parent
9d8e510a55
commit
ea8ea1543f
8 changed files with 40 additions and 44 deletions
|
@ -198,8 +198,7 @@ class OffScreenRenderWidgetHostView:
|
|||
void SetPaintCallback(const OnPaintCallback& callback);
|
||||
|
||||
void OnPaint(const gfx::Rect& damage_rect,
|
||||
int bitmap_width,
|
||||
int bitmap_height,
|
||||
const gfx::Size& bitmap_size,
|
||||
void* bitmap_pixels);
|
||||
|
||||
void SetPainting(bool painting);
|
||||
|
@ -219,7 +218,7 @@ private:
|
|||
|
||||
OffScreenOutputDevice* software_output_device_;
|
||||
|
||||
const OnPaintCallback callback_;
|
||||
OnPaintCallback callback_;
|
||||
|
||||
int frame_rate_;
|
||||
int frame_rate_threshold_ms_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue