mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
bug #75220: fixing stragglers, people who checked in uses of |nsLiteralC?String| after it had already been removed from the build
This commit is contained in:
parent
af0c0df24f
commit
b7b3395bad
@ -3494,7 +3494,7 @@ HTMLContentSink::StartLayout()
|
||||
|
||||
rv = mDocumentURI->GetSpec(getter_Copies(ref));
|
||||
|
||||
nsLiteralCString refstr(ref);
|
||||
nsDependentCString refstr(ref);
|
||||
|
||||
nsReadingIterator<char> start, end;
|
||||
|
||||
|
4
netwerk/cache/src/nsDiskCacheEntry.cpp
vendored
4
netwerk/cache/src/nsDiskCacheEntry.cpp
vendored
@ -150,7 +150,7 @@ NS_IMPL_ISUPPORTS1(nsDiskCacheEntryInfo, nsICacheEntryInfo);
|
||||
NS_IMETHODIMP nsDiskCacheEntryInfo::GetClientID(char ** clientID)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(clientID);
|
||||
return ClientIDFromCacheKey(nsLiteralCString(mDiskEntry->mKeyStart), clientID);
|
||||
return ClientIDFromCacheKey(nsDependentCString(mDiskEntry->mKeyStart), clientID);
|
||||
}
|
||||
|
||||
extern const char DISK_CACHE_DEVICE_ID[];
|
||||
@ -165,7 +165,7 @@ NS_IMETHODIMP nsDiskCacheEntryInfo::GetDeviceID(char ** deviceID)
|
||||
NS_IMETHODIMP nsDiskCacheEntryInfo::GetKey(char ** clientKey)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(clientKey);
|
||||
return ClientKeyFromCacheKey(nsLiteralCString(mDiskEntry->mKeyStart), clientKey);
|
||||
return ClientKeyFromCacheKey(nsDependentCString(mDiskEntry->mKeyStart), clientKey);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsDiskCacheEntryInfo::GetFetchCount(PRInt32 *aFetchCount)
|
||||
|
@ -1197,7 +1197,7 @@ nsresult nsProfile::ShouldDeleteProfileParentDir(nsIFile *profileDir, PRBool *is
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
PRBool endsWithSalt = PR_FALSE;
|
||||
nsLiteralCString leafNameString(leafName.get());
|
||||
nsDependentCString leafNameString(leafName.get());
|
||||
if (leafNameString.Length() >= kSaltExtensionCString.Length())
|
||||
{
|
||||
nsReadingIterator<char> stringEnd;
|
||||
|
@ -219,7 +219,7 @@ NS_IMETHODIMP nsSoftwareUpdate::Observe(nsISupports *aSubject,
|
||||
const PRUnichar *aTopic,
|
||||
const PRUnichar *aData)
|
||||
{
|
||||
nsLiteralString topicString(aTopic);
|
||||
nsDependentString topicString(aTopic);
|
||||
if (topicString.Equals(NS_LITERAL_STRING(NS_XPCOM_SHUTDOWN_OBSERVER_ID)))
|
||||
Shutdown();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user