Bug 833560 - Part 2: Add timings to Plugin Hang UI telemetry. r=vdjeric

This commit is contained in:
Aaron Klotz
2013-02-12 15:05:39 -05:00
parent c7186fa3ec
commit d47b9cd80d
4 changed files with 36 additions and 8 deletions

View File

@@ -563,7 +563,8 @@ PluginModuleParent::LaunchHangUI()
delete mHangUIParent;
mHangUIParent = nullptr;
}
mHangUIParent = new PluginHangUIParent(this);
mHangUIParent = new PluginHangUIParent(this,
Preferences::GetInt(kHangUITimeoutPref, 0));
nsAutoString pluginName;
if (!GetPluginName(pluginName)) {
return false;