| Index: chrome/renderer/chrome_render_view_observer.cc
|
| ===================================================================
|
| --- chrome/renderer/chrome_render_view_observer.cc (revision 142907)
|
| +++ chrome/renderer/chrome_render_view_observer.cc (working copy)
|
| @@ -229,7 +229,6 @@
|
| last_indexed_page_id_(-1),
|
| allow_displaying_insecure_content_(false),
|
| allow_running_insecure_content_(false),
|
| - warned_about_insecure_content_(false),
|
| capture_timer_(false, false) {
|
| const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| render_view->GetWebView()->setPermissionClient(this);
|
| @@ -630,10 +629,8 @@
|
| SendInsecureContentSignal(INSECURE_CONTENT_RUN_SWF);
|
|
|
| if (!allow_running_insecure_content_ && !allowed_per_settings) {
|
| - if (!warned_about_insecure_content_ && !IsStrictSecurityHost(origin_host)) {
|
| - warned_about_insecure_content_ = true;
|
| - Send(new ChromeViewHostMsg_DidBlockRunningInsecureContent(routing_id()));
|
| - }
|
| + if (!IsStrictSecurityHost(origin_host))
|
| + content_settings_->DidNotAllowMixedScript();
|
| return false;
|
| }
|
|
|
|
|