mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1358709 - Part 1: Remove nsIHangReport::GetScriptLineNo; r=billm
This is dead code, and removing it is harmless.
This commit is contained in:
parent
e0fcc0bc36
commit
561daa3a09
@ -160,7 +160,6 @@ public:
|
||||
NS_IMETHOD GetHangType(uint32_t* aHangType) override;
|
||||
NS_IMETHOD GetScriptBrowser(nsIDOMElement** aBrowser) override;
|
||||
NS_IMETHOD GetScriptFileName(nsACString& aFileName) override;
|
||||
NS_IMETHOD GetScriptLineNo(uint32_t* aLineNo) override;
|
||||
|
||||
NS_IMETHOD GetPluginName(nsACString& aPluginName) override;
|
||||
|
||||
@ -962,18 +961,6 @@ HangMonitoredProcess::GetScriptFileName(nsACString& aFileName)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
HangMonitoredProcess::GetScriptLineNo(uint32_t* aLineNo)
|
||||
{
|
||||
MOZ_RELEASE_ASSERT(NS_IsMainThread());
|
||||
if (mHangData.type() != HangData::TSlowScriptData) {
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
}
|
||||
|
||||
*aLineNo = mHangData.get_SlowScriptData().lineno();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
HangMonitoredProcess::GetPluginName(nsACString& aPluginName)
|
||||
{
|
||||
|
@ -32,7 +32,6 @@ interface nsIHangReport : nsISupports
|
||||
// Only valid for SLOW_SCRIPT reports.
|
||||
readonly attribute nsIDOMElement scriptBrowser;
|
||||
readonly attribute ACString scriptFileName;
|
||||
readonly attribute unsigned long scriptLineNo;
|
||||
|
||||
// For PLUGIN_HANGs, this field contains information about the plugin.
|
||||
// Only valid for PLUGIN_HANG reports.
|
||||
|
Loading…
Reference in New Issue
Block a user