Pass SkBitmap directly
This commit is contained in:
parent
530fcc8de1
commit
64334fd40b
7 changed files with 16 additions and 34 deletions
|
@ -190,10 +190,7 @@ class OffScreenRenderWidgetHostView
|
|||
void DestroyPlatformWidget();
|
||||
#endif
|
||||
|
||||
void OnPaint(const gfx::Rect& damage_rect,
|
||||
const gfx::Size& bitmap_size,
|
||||
int pixel_size,
|
||||
void* bitmap_pixels);
|
||||
void OnPaint(const gfx::Rect& damage_rect, const SkBitmap& bitmap);
|
||||
|
||||
void SetPainting(bool painting);
|
||||
bool IsPainting() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue