Commit ff0af585 authored by ap@apple.com's avatar ap@apple.com

[Mac] setMetadataURL incorrectly treats path bytes as Latin-1

https://bugs.webkit.org/show_bug.cgi?id=115557

Reviewed by Sam Weinig.

* platform/mac/FileSystemMac.mm: (WebCore::setMetaData): Use the correct constructor.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 90ae9289
2013-05-03 Alexey Proskuryakov <ap@apple.com>
[Mac] setMetadataURL incorrectly treats path bytes as Latin-1
https://bugs.webkit.org/show_bug.cgi?id=115557
Reviewed by Sam Weinig.
* platform/mac/FileSystemMac.mm: (WebCore::setMetaData): Use the correct constructor.
2013-05-03 Andrei Bucur <abucur@adobe.com>
Move pixelSnappedLayoutOverflowRect and maxLayoutOverflow from RenderBox
......
......@@ -77,7 +77,7 @@ typedef struct MetaDataInfo
static void* setMetaData(void* context)
{
MetaDataInfo *info = (MetaDataInfo *)context;
wkSetMetadataURL((NSString *)info->URLString, (NSString *)info->referrer, (NSString *)String(fileSystemRepresentation(info->path).data()));
wkSetMetadataURL((NSString *)info->URLString, (NSString *)info->referrer, (NSString *)String::fromUTF8(fileSystemRepresentation(info->path).data()));
delete info;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment