Title: [147594] trunk/Source/WebCore
- Revision
- 147594
- Author
- [email protected]
- Date
- 2013-04-03 15:58:32 -0700 (Wed, 03 Apr 2013)
Log Message
[BlackBerry] Switch MediaPlayerPrivateBlackBerry.cpp's timer to use CLOCK_MONOTONIC
https://bugs.webkit.org/show_bug.cgi?id=113900
Patch by Otto Derek Cheung <[email protected]> on 2013-04-03
Reviewed by Rob Buis.
Internally Reviewed by Jeff Rogers.
Timers should use CLOCK_MONOTONIC to avoid undesirable effects when
the user switches the system time.
* platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
(WebCore::MediaPlayerPrivate::drawBufferingAnimation):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (147593 => 147594)
--- trunk/Source/WebCore/ChangeLog 2013-04-03 22:54:56 UTC (rev 147593)
+++ trunk/Source/WebCore/ChangeLog 2013-04-03 22:58:32 UTC (rev 147594)
@@ -1,3 +1,17 @@
+2013-04-03 Otto Derek Cheung <[email protected]>
+
+ [BlackBerry] Switch MediaPlayerPrivateBlackBerry.cpp's timer to use CLOCK_MONOTONIC
+ https://bugs.webkit.org/show_bug.cgi?id=113900
+
+ Reviewed by Rob Buis.
+ Internally Reviewed by Jeff Rogers.
+
+ Timers should use CLOCK_MONOTONIC to avoid undesirable effects when
+ the user switches the system time.
+
+ * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
+ (WebCore::MediaPlayerPrivate::drawBufferingAnimation):
+
2013-04-03 Dave Michael <[email protected]>
Unable to focus on embedded plugins such as Flash via _javascript_ focus()
Modified: trunk/Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp (147593 => 147594)
--- trunk/Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp 2013-04-03 22:54:56 UTC (rev 147593)
+++ trunk/Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp 2013-04-03 22:58:32 UTC (rev 147594)
@@ -933,7 +933,7 @@
// Rotate the buffering indicator so that it takes 1 second to do 1 revolution.
timespec time;
- clock_gettime(CLOCK_REALTIME, &time);
+ clock_gettime(CLOCK_MONOTONIC, &time);
renderMatrix.rotate(time.tv_nsec / 1000000000.0 * 360.0);
static bool initialized = false;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes