fix: backgroundThrottling rwh assignment (#21037)

* fix: backgroundThrottling rwh assignment

* fix: disable DOM timer throttling

* chore: fix typo
This commit is contained in:
Shelley Vohr 2019-12-02 10:29:03 -08:00 committed by Robo
parent f2f52c23b5
commit c7cbc2e6b1
4 changed files with 183 additions and 23 deletions

View file

@ -422,7 +422,8 @@ class WebContents : public gin_helper::TrackableObject<WebContents>,
// content::WebContentsObserver:
void BeforeUnloadFired(bool proceed,
const base::TimeTicks& proceed_time) override;
void RenderViewCreated(content::RenderViewHost*) override;
void RenderViewCreated(content::RenderViewHost* render_view_host) override;
void RenderFrameCreated(content::RenderFrameHost* render_frame_host) override;
void RenderViewHostChanged(content::RenderViewHost* old_host,
content::RenderViewHost* new_host) override;
void RenderViewDeleted(content::RenderViewHost*) override;