Bug 624742 - Places shouldn't use nsDependentString. r=mak
authorEdgar Flores <edgrf2002@gmail.com>
Thu, 04 Aug 2011 11:34:00 -0400
changeset 73909 d68a492dcabe4a3e6d9bbdaebc0f64c795b1611b
parent 73908 899a225fd580f3d05f1916df40cad91ea98af496
child 73910 03f472cf0a5bd3bedda4bfb55fda62495c151b4c
push id20926
push usermak77@bonardo.net
push dateSat, 06 Aug 2011 09:36:25 +0000
treeherdermozilla-central@ba21778fcc14 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmak
bugs624742
milestone8.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 624742 - Places shouldn't use nsDependentString. r=mak
toolkit/components/places/History.cpp
--- a/toolkit/components/places/History.cpp
+++ b/toolkit/components/places/History.cpp
@@ -1783,17 +1783,17 @@ History::SetURITitle(nsIURI* aURI, const
   if (mShuttingDown) {
     return NS_OK;
   }
 
   if (XRE_GetProcessType() == GeckoProcessType_Content) {
     mozilla::dom::ContentChild * cpc = 
       mozilla::dom::ContentChild::GetSingleton();
     NS_ASSERTION(cpc, "Content Protocol is NULL!");
-    (void)cpc->SendSetURITitle(aURI, nsDependentString(aTitle));
+    (void)cpc->SendSetURITitle(aURI, nsString(aTitle));
     return NS_OK;
   } 
 
   nsNavHistory* navHistory = nsNavHistory::GetHistoryService();
 
   // At first, it seems like nav history should always be available here, no
   // matter what.
   //