fix: FrameSubscriber should not scale frame down (#17444)

This commit is contained in:
Cheng Zhao 2019-04-08 11:35:33 +09:00 committed by GitHub
parent 235eea6669
commit e7c48922e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 6 deletions

View file

@ -54,6 +54,9 @@ class FrameSubscriber : public content::WebContentsObserver,
void Done(const gfx::Rect& damage, const SkBitmap& frame);
// Get the pixel size of render view.
gfx::Size GetRenderViewSize() const;
FrameCaptureCallback callback_;
bool only_dirty_;