switch to faster string search API
git-svn-id: svn://10.0.0.236/trunk@40073 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -322,7 +322,7 @@ void nsObjectFrame::IsSupportedImage(nsIContent* aContent, PRBool* aImage)
|
||||
nsAutoString ext;
|
||||
|
||||
PRInt32 iLastCharOffset = data.Length() - 1;
|
||||
PRInt32 iPointOffset = data.RFind(".");
|
||||
PRInt32 iPointOffset = data.RFindChar('.');
|
||||
|
||||
if(iPointOffset != -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user