зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1225682 - Don't use nsAuto{,C}String as class member variables in widget/. r=roc
This commit is contained in:
Родитель
4005d567f9
Коммит
4c1c46f7d3
|
@ -1136,7 +1136,7 @@ nsresult GfxInfoBase::GetInfo(JSContext* aCx, JS::MutableHandle<JS::Value> aResu
|
|||
const nsCString&
|
||||
GfxInfoBase::GetApplicationVersion()
|
||||
{
|
||||
static nsAutoCString version;
|
||||
static nsCString version;
|
||||
static bool versionInitialized = false;
|
||||
if (!versionInitialized) {
|
||||
// If we fail to get the version, we will not try again.
|
||||
|
|
|
@ -269,7 +269,7 @@ private:
|
|||
void Clear();
|
||||
|
||||
private:
|
||||
nsAutoString mString;
|
||||
nsString mString;
|
||||
RefPtr<TextRangeArray> mClauses;
|
||||
TextRange mCaret;
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ private:
|
|||
void InhibitFailed();
|
||||
void InhibitSucceeded(uint32_t aInhibitRequest);
|
||||
|
||||
nsAutoCString mTopic;
|
||||
nsCString mTopic;
|
||||
DBusConnection* mConnection;
|
||||
|
||||
DesktopEnvironment mDesktopEnvironment;
|
||||
|
|
Загрузка…
Ссылка в новой задаче