fix: FrameSubscriber should not scale frame down (#17444)
This commit is contained in:
parent
235eea6669
commit
e7c48922e7
2 changed files with 16 additions and 6 deletions
|
@ -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_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue