Bug 1423174 - Rename CS to avoid macro conflict on Solaris. r=jgilbert

--HG--
extra : rebase_source : 22d7a56e7e18376f2bf0899a5cb358c6260d9835
This commit is contained in:
Petr Sumbera 2017-12-05 04:10:29 -08:00
parent b2e55186e4
commit 3055fec73b

View File

@ -699,7 +699,7 @@ PluginModuleChromeParent::WriteExtraDataForMinidump()
// mCrashReporterMutex is already held by the caller
mCrashReporterMutex.AssertCurrentThreadOwns();
typedef nsDependentCString CS;
typedef nsDependentCString cstring;
// Get the plugin filename, try to get just the file leafname
const std::string& pluginFile = mSubprocess->GetPluginFilePath();
@ -708,7 +708,7 @@ PluginModuleChromeParent::WriteExtraDataForMinidump()
filePos = 0;
else
filePos++;
mCrashReporter->AddNote(NS_LITERAL_CSTRING("PluginFilename"), CS(pluginFile.substr(filePos).c_str()));
mCrashReporter->AddNote(NS_LITERAL_CSTRING("PluginFilename"), cstring(pluginFile.substr(filePos).c_str()));
mCrashReporter->AddNote(NS_LITERAL_CSTRING("PluginName"), mPluginName);
mCrashReporter->AddNote(NS_LITERAL_CSTRING("PluginVersion"), mPluginVersion);