Title: [104435] trunk/Source/WebCore
- Revision
- 104435
- Author
- [email protected]
- Date
- 2012-01-08 23:15:10 -0800 (Sun, 08 Jan 2012)
Log Message
Build fix: ScrollAnimatorMac has missing initializer in systemUptime()
https://bugs.webkit.org/show_bug.cgi?id=75827
Reviewed by Darin Adler.
Explicitly initialize the struct timeval to avoid compiler warnings.
* platform/mac/ScrollAnimatorMac.mm:
(systemUptime):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (104434 => 104435)
--- trunk/Source/WebCore/ChangeLog 2012-01-09 07:09:20 UTC (rev 104434)
+++ trunk/Source/WebCore/ChangeLog 2012-01-09 07:15:10 UTC (rev 104435)
@@ -1,3 +1,15 @@
+2012-01-08 Benjamin Poulain <[email protected]>
+
+ Build fix: ScrollAnimatorMac has missing initializer in systemUptime()
+ https://bugs.webkit.org/show_bug.cgi?id=75827
+
+ Reviewed by Darin Adler.
+
+ Explicitly initialize the struct timeval to avoid compiler warnings.
+
+ * platform/mac/ScrollAnimatorMac.mm:
+ (systemUptime):
+
2012-01-08 ChangSeok Oh <[email protected]>
Memory allocation mismatch by using adoptArrayPtr in GraphicsContext3DOpenGL.cpp
Modified: trunk/Source/WebCore/platform/mac/ScrollAnimatorMac.mm (104434 => 104435)
--- trunk/Source/WebCore/platform/mac/ScrollAnimatorMac.mm 2012-01-09 07:09:20 UTC (rev 104434)
+++ trunk/Source/WebCore/platform/mac/ScrollAnimatorMac.mm 2012-01-09 07:15:10 UTC (rev 104435)
@@ -82,7 +82,7 @@
return [[NSProcessInfo processInfo] systemUptime];
// Get how long system has been up. Found by looking getting "boottime" from the kernel.
- static struct timeval boottime = {};
+ static struct timeval boottime = {0, 0};
if (!boottime.tv_sec) {
int mib[2] = {CTL_KERN, KERN_BOOTTIME};
size_t size = sizeof(boottime);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes