commit | 2f2243e22221ed4fcfeb0ae4dfde6191012bfdd7 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue May 26 02:27:02 2009 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue May 26 02:27:02 2009 |
tree | 64e494d9da3f1db64dad8fec1c21c782d6f9b7cb | |
parent | 2c207687945d59131b52cb4be18996f8d0c6b2dc [diff] [blame] |
Update renderers when there are zero user scripts. Commit: http://codereview.chromium.org/113733 BUG=12170 TEST=Enable user scripts and create one. See that it runs. Now delete it. See that it does not run! Review URL: http://codereview.chromium.org/113741 Patch from Ted Crossman <[email protected]>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16864 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc index c69cb1b..af81a02c 100644 --- a/chrome/renderer/render_thread.cc +++ b/chrome/renderer/render_thread.cc
@@ -215,7 +215,7 @@ OnGetRendererHistograms) IPC_MESSAGE_HANDLER(ViewMsg_GetCacheResourceStats, OnGetCacheResourceStats) - IPC_MESSAGE_HANDLER(ViewMsg_UserScripts_NewScripts, + IPC_MESSAGE_HANDLER(ViewMsg_UserScripts_UpdatedScripts, OnUpdateUserScripts) // TODO(rafaelw): create an ExtensionDispatcher that handles extension // messages seperates their handling from the RenderThread.