refactor: remove unused OffScreenRenderWidgetHostView fields (#38623)
This commit is contained in:
parent
c5972ba43c
commit
69790f4b2a
2 changed files with 0 additions and 8 deletions
|
@ -726,10 +726,8 @@ void OffScreenRenderWidgetHostView::CompositeFrame(
|
|||
}
|
||||
}
|
||||
|
||||
paint_callback_running_ = true;
|
||||
callback_.Run(gfx::IntersectRects(gfx::Rect(size_in_pixels), damage_rect),
|
||||
frame);
|
||||
paint_callback_running_ = false;
|
||||
|
||||
ReleaseResize();
|
||||
}
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include "base/memory/raw_ptr.h"
|
||||
#include "base/process/kill.h"
|
||||
#include "base/threading/thread.h"
|
||||
#include "base/time/time.h"
|
||||
#include "components/viz/common/quads/compositor_frame.h"
|
||||
#include "components/viz/common/surfaces/parent_local_surface_id_allocator.h"
|
||||
#include "content/browser/renderer_host/delegated_frame_host.h" // nogncheck
|
||||
|
@ -259,9 +258,6 @@ class OffScreenRenderWidgetHostView : public content::RenderWidgetHostViewBase,
|
|||
int frame_rate_ = 0;
|
||||
int frame_rate_threshold_us_ = 0;
|
||||
|
||||
base::Time last_time_ = base::Time::Now();
|
||||
|
||||
gfx::Vector2dF last_scroll_offset_;
|
||||
gfx::Size size_;
|
||||
bool painting_;
|
||||
|
||||
|
@ -272,8 +268,6 @@ class OffScreenRenderWidgetHostView : public content::RenderWidgetHostViewBase,
|
|||
bool hold_resize_ = false;
|
||||
bool pending_resize_ = false;
|
||||
|
||||
bool paint_callback_running_ = false;
|
||||
|
||||
viz::LocalSurfaceId delegated_frame_host_surface_id_;
|
||||
viz::ParentLocalSurfaceIdAllocator delegated_frame_host_allocator_;
|
||||
|
||||
|
|
Loading…
Reference in a new issue