| Index: extensions/renderer/scripts_run_info.cc
|
| diff --git a/extensions/renderer/scripts_run_info.cc b/extensions/renderer/scripts_run_info.cc
|
| index b31bbe07ba12ac24c56aa22a65fa791260a7d7c9..7b668c6e66ab44a219125328daaefe0c41f69e19 100644
|
| --- a/extensions/renderer/scripts_run_info.cc
|
| +++ b/extensions/renderer/scripts_run_info.cc
|
| @@ -27,9 +27,9 @@ ScriptsRunInfo::ScriptsRunInfo(content::RenderFrame* render_frame,
|
| ScriptsRunInfo::~ScriptsRunInfo() {
|
| }
|
|
|
| -void ScriptsRunInfo::LogRun() {
|
| +void ScriptsRunInfo::LogRun(bool send_script_activity) {
|
| // Notify the browser if any extensions are now executing scripts.
|
| - if (!executing_scripts.empty()) {
|
| + if (!executing_scripts.empty() && send_script_activity) {
|
| content::RenderThread::Get()->Send(
|
| new ExtensionHostMsg_ContentScriptsExecuting(
|
| routing_id_, executing_scripts, frame_url_));
|
|
|