Bug 1150510 - Crash [@ nsStringBundle::GetStringFromName. r=marcoz, a=lizzard
authorAlexander Surkov <surkov.alexander@gmail.com>
Wed, 17 Jun 2015 12:37:19 -0400
changeset 267763 16b72b74efde1bb7c894bf84724a67ebe199db0f
parent 267762 94cba85a74933b22d1866146db0bded91ce42693
child 267764 900c78b9be48b50e97410548bf2e4c67def40d6d
child 267766 326052e6a6c8e58b083c52e391ce994800ea532c
child 267768 9cdb8806596bd5890acb67663956c91e96049dbd
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmarcoz, lizzard
bugs1150510
milestone39.0
Bug 1150510 - Crash [@ nsStringBundle::GetStringFromName. r=marcoz, a=lizzard
accessible/mac/mozAccessible.mm
--- a/accessible/mac/mozAccessible.mm
+++ b/accessible/mac/mozAccessible.mm
@@ -478,17 +478,17 @@ GetClosestInterestingAccessible(id anObj
   }
 
   return nil;
 }
 
 struct RoleDescrMap
 {
   NSString* role;
-  const nsString& description;
+  const nsString description;
 };
 
 static const RoleDescrMap sRoleDescrMap[] = {
   { @"AXDefinition", NS_LITERAL_STRING("definition") },
   { @"AXLandmarkBanner", NS_LITERAL_STRING("banner") },
   { @"AXLandmarkComplementary", NS_LITERAL_STRING("complementary") },
   { @"AXLandmarkContentInfo", NS_LITERAL_STRING("content") },
   { @"AXLandmarkMain", NS_LITERAL_STRING("main") },