Title: [210604] trunk/Source/WebCore
Revision
210604
Author
[email protected]
Date
2017-01-11 16:05:20 -0800 (Wed, 11 Jan 2017)

Log Message

[GTK] Unreviewed build fix after r210600.

* platform/glib/FileSystemGlib.cpp:
(WebCore::getFileDeviceId): Attempting to use proper API here.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (210603 => 210604)


--- trunk/Source/WebCore/ChangeLog	2017-01-11 23:55:37 UTC (rev 210603)
+++ trunk/Source/WebCore/ChangeLog	2017-01-12 00:05:20 UTC (rev 210604)
@@ -1,5 +1,12 @@
 2017-01-11  Brent Fulgham  <[email protected]>
 
+        [GTK] Unreviewed build fix after r210600.
+
+        * platform/glib/FileSystemGlib.cpp:
+        (WebCore::getFileDeviceId): Attempting to use proper API here.
+
+2017-01-11  Brent Fulgham  <[email protected]>
+
         [GTK] Unreviewed build fix after r210599.
 
         * platform/glib/FileSystemGlib.cpp:

Modified: trunk/Source/WebCore/platform/glib/FileSystemGlib.cpp (210603 => 210604)


--- trunk/Source/WebCore/platform/glib/FileSystemGlib.cpp	2017-01-11 23:55:37 UTC (rev 210603)
+++ trunk/Source/WebCore/platform/glib/FileSystemGlib.cpp	2017-01-12 00:05:20 UTC (rev 210604)
@@ -410,12 +410,12 @@
 
 std::optional<int32_t> getFileDeviceId(const CString& fsFile)
 {
-    GUniquePtr<gchar> filename = unescapedFilename(fsFile);
+    GUniquePtr<gchar> filename = unescapedFilename(fsFile.data());
     if (!filename)
         return std::nullopt;
 
     GRefPtr<GFile> file = adoptGRef(g_file_new_for_path(filename.get()));
-    GRefPtr<GFileInfo> fileInfo = adoptGRef(g_file_io_stream_query_info(file.get(), G_FILE_ATTRIBUTE_UNIX_DEVICE, nullptr, nullptr));
+    GRefPtr<GFileInfo> fileInfo = adoptGRef(g_file_query_filesystem_info(file.get(), G_FILE_ATTRIBUTE_UNIX_DEVICE, nullptr, nullptr));
     if (!fileInfo)
         return std::nullopt;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to