diff options
author | Adam Kallai <kadam@inf.u-szeged.hu> | 2015-04-20 01:50:45 -0700 |
---|---|---|
committer | Andras Becsi <andras.becsi@theqtcompany.com> | 2015-04-21 12:26:07 +0000 |
commit | 5bdd41388fab6486061d1bd25be132533d05d711 (patch) | |
tree | 8b59bee5e8f277e0d3fec5026484e5bd267d5cfd /src/core/user_script_controller_host.h | |
parent | 7ff8dc3dbfe4effce66bee8b7b59284f4b2f95be (diff) |
Fix assignment of observer to RenderProcessHost.
By default Chromium uses the process-per-site-instance process model.
Therefore if there is a renderProcessHost which is already observed
we do not need to add another observer for user scripts.
Change-Id: Ic0c2104ebbefb2b8427c43c4c665d96b5a991ba1
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'src/core/user_script_controller_host.h')
-rw-r--r-- | src/core/user_script_controller_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/user_script_controller_host.h b/src/core/user_script_controller_host.h index 293b5d2dd..49c96b333 100644 --- a/src/core/user_script_controller_host.h +++ b/src/core/user_script_controller_host.h @@ -66,7 +66,7 @@ public: void reserve(WebContentsAdapter *adapter, int count); const QSet<UserScript> registeredScripts(WebContentsAdapter *adapter) const; - void renderProcessHostCreated(content::RenderProcessHost *renderer); + void renderProcessStartedWithHost(content::RenderProcessHost *renderer); private: Q_DISABLE_COPY(UserScriptControllerHost) |