Don't generate a frame with GPU OSR if IsPainting is false
This commit is contained in:
parent
708cde92cf
commit
304fd49e84
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class AtomCopyFrameGenerator {
|
||||||
}
|
}
|
||||||
|
|
||||||
void GenerateCopyFrame(const gfx::Rect& damage_rect) {
|
void GenerateCopyFrame(const gfx::Rect& damage_rect) {
|
||||||
if (!view_->render_widget_host())
|
if (!view_->render_widget_host() || !view_->IsPainting())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
std::unique_ptr<cc::CopyOutputRequest> request =
|
std::unique_ptr<cc::CopyOutputRequest> request =
|
||||||
|
|
Loading…
Reference in a new issue