Title: [118970] trunk/Source/WebCore
Revision
118970
Author
[email protected]
Date
2012-05-30 14:08:50 -0700 (Wed, 30 May 2012)

Log Message

[wx] Unreviewed build fix. Make sure we get the file size with the proper native type.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (118969 => 118970)


--- trunk/Source/WebCore/ChangeLog	2012-05-30 21:08:04 UTC (rev 118969)
+++ trunk/Source/WebCore/ChangeLog	2012-05-30 21:08:50 UTC (rev 118970)
@@ -1,3 +1,10 @@
+2012-05-30  Kevin Ollivier  <[email protected]>
+
+        [wx] Unreviewed build fix. Make sure we get the file size with the proper native type.
+
+        * platform/wx/FileSystemWx.cpp:
+        (WebCore::getFileMetadata):
+
 2012-05-30  Sheriff Bot  <[email protected]>
 
         Unreviewed, rolling out r118913.

Modified: trunk/Source/WebCore/platform/wx/FileSystemWx.cpp (118969 => 118970)


--- trunk/Source/WebCore/platform/wx/FileSystemWx.cpp	2012-05-30 21:08:04 UTC (rev 118969)
+++ trunk/Source/WebCore/platform/wx/FileSystemWx.cpp	2012-05-30 21:08:50 UTC (rev 118970)
@@ -91,7 +91,7 @@
     if (!wxFileExists(path))
         return false;
     wxFileName fileName(path);
-    metadata.length = fileName.GetSize();
+    metadata.length = fileName.GetSize().GetValue();
     metadata.modificationTime = fileName.GetModificationTime().GetTicks();
     metadata.type = fileName.IsDir() ? FileMetadata::TypeDirectory : FileMetadata::TypeFile;
     return true;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to