Fix crash when the main frame is replaced

This commit is contained in:
Cheng Zhao 2017-03-02 17:18:00 +09:00
parent 24574f7299
commit 1709e74958
2 changed files with 12 additions and 6 deletions

View file

@ -66,6 +66,9 @@ class AtomRendererClient : public content::ContentRendererClient {
std::vector<std::unique_ptr<::media::KeySystemProperties>>* key_systems)
override;
// Whether the node integration has been initialized.
bool node_integration_initialized_;
std::unique_ptr<NodeBindings> node_bindings_;
std::unique_ptr<AtomBindings> atom_bindings_;
std::unique_ptr<PreferencesManager> preferences_manager_;