Bug 1225682 - Don't use nsAuto{,C}String as class member variables in xpfe/. r=neil
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 19 Nov 2015 18:32:05 +0900
changeset 309279 bb12e45c0dd8664c8d28c7094a4d25ab4275f5f7
parent 309278 fc1d5300303627cadc21b7c49f4c7fce6926d7d6
child 309280 98052e9e211abe66955730b5f67fcdd815bfe42a
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersneil
bugs1225682
milestone45.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1225682 - Don't use nsAuto{,C}String as class member variables in xpfe/. r=neil
xpfe/appshell/nsXULWindow.h
--- a/xpfe/appshell/nsXULWindow.h
+++ b/xpfe/appshell/nsXULWindow.h
@@ -169,13 +169,13 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsXULWindo
 class nsContentShellInfo
 {
 public:
    nsContentShellInfo(const nsAString& aID,
                       nsIWeakReference* aContentShell);
    ~nsContentShellInfo();
 
 public:
-   nsAutoString id; // The identifier of the content shell
+   nsString id; // The identifier of the content shell
    nsWeakPtr child; // content shell (weak reference to nsIDocShellTreeItem)
 };
 
 #endif /* nsXULWindow_h__ */