summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--content/child/blink_platform_impl.cc2
2 files changed, 3 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index a4ec6d1..a4c5de2 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -121,6 +121,7 @@ Hautio Kari <khautio@gmail.com>
Hongbo Min <hongbo.min@intel.com>
Horia Olaru <horia.olaru@gmail.com>
Horia Olaru <olaru@adobe.com>
+Hosung You <hosung.you@samsung.com>
Hyunki Baik <hyunki.baik@samsung.com>
Hyungwook Lee <withlhw@gmail.com>
Ibrar Ahmed <ibrar.ahmad@gmail.com>
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index d2fe2c7..e648dd6 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -901,6 +901,8 @@ void BlinkPlatformImpl::SuspendSharedTimer() {
}
void BlinkPlatformImpl::ResumeSharedTimer() {
+ DCHECK_GT(shared_timer_suspended_, 0);
+
// The shared timer may have fired or been adjusted while we were suspended.
if (--shared_timer_suspended_ == 0 &&
(!shared_timer_.IsRunning() ||