Index: chrome/renderer/extensions/dispatcher.cc |
diff --git a/chrome/renderer/extensions/dispatcher.cc b/chrome/renderer/extensions/dispatcher.cc |
index c8bde59a60bdf40bb4aab66f55c290a933fd5ae9..8d5aa46be680cc3f0cc83e31da6df41c0a7e41d2 100644 |
--- a/chrome/renderer/extensions/dispatcher.cc |
+++ b/chrome/renderer/extensions/dispatcher.cc |
@@ -504,6 +504,8 @@ void Dispatcher::OnUnloaded(const std::string& id) { |
// changed origin whitelist. |
user_script_slave_->RemoveIsolatedWorld(id); |
+ v8_context_set_.OnExtensionUnloaded(id); |
+ |
// We don't do anything with existing platform-app stylesheets. They will |
// stay resident, but the URL pattern corresponding to the unloaded |
// extension's URL just won't match anything anymore. |