Bug 1144991 another followup, to fix the stupid compile issue. r=must-reopen-the-CLOSED TREE
authorBoris Zbarsky <bzbarsky@mit.edu>
Thu, 19 Mar 2015 21:16:22 -0400
changeset 263423 ae2217c25ceee746befcc7a1abeb0acb94bbd089
parent 263422 8428dce9dde06458546c542040f6df4a0944a823
child 263424 4d2d97b3ba34d95b0d29ce099f8f5dc0a2ae722d
push id4718
push userraliiev@mozilla.com
push dateMon, 11 May 2015 18:39:53 +0000
treeherdermozilla-beta@c20c4ef55f08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmust-reopen-the-CLOSED
bugs1144991
milestone39.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 1144991 another followup, to fix the stupid compile issue. r=must-reopen-the-CLOSED TREE
caps/nsScriptSecurityManager.cpp
--- a/caps/nsScriptSecurityManager.cpp
+++ b/caps/nsScriptSecurityManager.cpp
@@ -782,17 +782,17 @@ nsScriptSecurityManager::CheckLoadURIWit
                 if (accessAllowed) {
                     return NS_OK;
                 }
             }
         }
 
         // Special-case the hidden window: it's allowed to load
         // URI_IS_UI_RESOURCE no matter what.  Bug 1145470 tracks removing this.
-        nsCAutoString sourceSpec;
+        nsAutoCString sourceSpec;
         if (NS_SUCCEEDED(sourceBaseURI->GetSpec(sourceSpec)) &&
             sourceSpec.EqualsLiteral("resource://gre-resources/hiddenWindow.html")) {
             return NS_OK;
         }
 
         if (reportErrors) {
             ReportError(nullptr, errorTag, sourceURI, aTargetURI);
         }