Pass SkBitmap directly

This commit is contained in:
Cheng Zhao 2016-08-04 13:22:19 +09:00
parent 530fcc8de1
commit 64334fd40b
7 changed files with 16 additions and 34 deletions

View file

@ -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;