Index: chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
index bdc7df799563be57ae400c71306f41395bd38395..9699279e84c8b2bccecedad50aab919008bd69a1 100644 |
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
@@ -996,13 +996,15 @@ ContentSettingMixedScriptBubbleModel::ContentSettingMixedScriptBubbleModel( |
} |
void ContentSettingMixedScriptBubbleModel::OnCustomLinkClicked() { |
- content_settings::RecordMixedScriptAction( |
- content_settings::MIXED_SCRIPT_ACTION_CLICKED_ALLOW); |
DCHECK(web_contents()); |
web_contents()->SendToAllFrames( |
new ChromeViewMsg_SetAllowRunningInsecureContent(MSG_ROUTING_NONE, true)); |
web_contents()->GetMainFrame()->Send(new ChromeViewMsg_ReloadFrame( |
web_contents()->GetMainFrame()->GetRoutingID())); |
+ |
+ content_settings::RecordMixedScriptActionWithRAPPOR( |
+ content_settings::MIXED_SCRIPT_ACTION_CLICKED_ALLOW, |
+ web_contents()->GetLastCommittedURL()); |
} |
ContentSettingRPHBubbleModel::ContentSettingRPHBubbleModel( |