Title: [233142] trunk/Source/WebCore
- Revision
- 233142
- Author
- tpop...@redhat.com
- Date
- 2018-06-25 03:22:51 -0700 (Mon, 25 Jun 2018)
Log Message
Unreviewed, address Darin's comment
https://bugs.webkit.org/show_bug.cgi?id=186757
* page/linux/ResourceUsageThreadLinux.cpp:
(WebCore::cpuPeriod):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (233141 => 233142)
--- trunk/Source/WebCore/ChangeLog 2018-06-25 10:00:42 UTC (rev 233141)
+++ trunk/Source/WebCore/ChangeLog 2018-06-25 10:22:51 UTC (rev 233142)
@@ -1,3 +1,11 @@
+2018-06-24 Tomas Popela <tpop...@redhat.com>
+
+ Unreviewed, address Darin's comment
+ https://bugs.webkit.org/show_bug.cgi?id=186757
+
+ * page/linux/ResourceUsageThreadLinux.cpp:
+ (WebCore::cpuPeriod):
+
2018-06-25 Antoine Quint <grao...@apple.com>
[Web Animations] Make imported/mozilla/css-animations/test_animation-pausing.html pass reliably
Modified: trunk/Source/WebCore/page/linux/ResourceUsageThreadLinux.cpp (233141 => 233142)
--- trunk/Source/WebCore/page/linux/ResourceUsageThreadLinux.cpp 2018-06-25 10:00:42 UTC (rev 233141)
+++ trunk/Source/WebCore/page/linux/ResourceUsageThreadLinux.cpp 2018-06-25 10:22:51 UTC (rev 233142)
@@ -61,7 +61,7 @@
int retVal = sscanf(buffer, "cpu %16llu %16llu %16llu %16llu %16llu %16llu %16llu %16llu %16llu %16llu",
&userTime, &niceTime, &systemTime, &idleTime, &ioWait, &irq, &softIrq, &steal, &guest, &guestnice);
// We expect 10 values to be matched by sscanf
- if (retVal < 10 || retVal == EOF) {
+ if (retVal != 10) {
fclose(file);
return 0;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes