updates to sync with nsString2 api
git-svn-id: svn://10.0.0.236/trunk@28570 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1079,7 +1079,7 @@ nsObjectFrame::Reflow(nsIPresContext& aPresContext,
|
||||
|
||||
// if we didn't find the type, but we do have a src, we can determine the mimetype
|
||||
// based on the file extension
|
||||
if(!mimeType && src)
|
||||
if(!mimeType && src.GetUnicode())
|
||||
{
|
||||
char* extension;
|
||||
char* cString = src.ToNewCString();
|
||||
|
||||
Reference in New Issue
Block a user