Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
chakrashim: fixing cpplint errors
Browse files Browse the repository at this point in the history
PR-URL: #340
Reviewed-By: Kunal Pathak <[email protected]>
  • Loading branch information
kfarnung committed Jul 20, 2017
1 parent b47e608 commit 9507a2b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions deps/chakrashim/src/jsrtutils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "jsrtutils.h"
#include <string>
#if !defined(_WIN32) && !defined(__APPLE__)
#include <limits.h> // UINT_MAX
#include <limits.h> // UINT_MAX
#endif
#include "pal/pal.h"

Expand Down Expand Up @@ -929,7 +929,7 @@ void IdleGC(uv_timer_t *timerHandler) {
// If IdleGC didn't complete, retry doing it after diff.
if (diffIdleTicks > diffTicks) {
unsigned int diff = diffIdleTicks - diffTicks;
if (diff > 2000) diff = 2000; // limit the difference to 2s
if (diff > 2000) diff = 2000; // limit the difference to 2s
ScheduleIdleGcTask(diff);
} else {
IsolateShim::GetCurrent()->ResetIsIdleGcScheduled();
Expand Down
3 changes: 1 addition & 2 deletions deps/chakrashim/src/pal/pal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
#include "uv.h"

#ifndef _WIN32
uint64_t GetTickCount()
{
uint64_t GetTickCount() {
uv_loop_t* default_loop = uv_default_loop();
uv_update_time(default_loop);
uint64_t now = uv_now(default_loop);
Expand Down
4 changes: 2 additions & 2 deletions deps/chakrashim/src/pal/pal.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@

uint64_t GetTickCount();

#endif // !_WIN32
#endif // !_WIN32

#endif // DEPS_CHAKRASHIM_SRC_PAL_PAL_H_
#endif // DEPS_CHAKRASHIM_SRC_PAL_PAL_H_

0 comments on commit 9507a2b

Please sign in to comment.