diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:44:00 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:44:00 -0800 |
commit | 498e5e4ad10920a9cfae6fdb7ffb19a6ed936ba7 (patch) | |
tree | 13d9b7c37da5daa52b9a744a11e4660c7f6aa917 /WebKit/android/nav/CachedDebug.h | |
parent | f7e76168422a049a356179665d34ddfb74184920 (diff) | |
download | external_webkit-498e5e4ad10920a9cfae6fdb7ffb19a6ed936ba7.zip external_webkit-498e5e4ad10920a9cfae6fdb7ffb19a6ed936ba7.tar.gz external_webkit-498e5e4ad10920a9cfae6fdb7ffb19a6ed936ba7.tar.bz2 |
auto import from //branches/cupcake/...@130745
Diffstat (limited to 'WebKit/android/nav/CachedDebug.h')
-rw-r--r-- | WebKit/android/nav/CachedDebug.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/WebKit/android/nav/CachedDebug.h b/WebKit/android/nav/CachedDebug.h index 42c6363..3127112 100644 --- a/WebKit/android/nav/CachedDebug.h +++ b/WebKit/android/nav/CachedDebug.h @@ -43,19 +43,8 @@ #endif #if DEBUG_NAV_UI -#define DBG_NAV_LOGD_NO_PARAM 0 /* needed so we can call (format, ...) */ -#define DBG_NAV_LOG_THROTTLE_INTERVAL 1000 #define DBG_NAV_LOG(message) LOGD("%s %s", __FUNCTION__, message) #define DBG_NAV_LOGD(format, ...) LOGD("%s " format, __FUNCTION__, __VA_ARGS__) -#define DBG_NAV_LOGD_THROTTLE(format, ...) \ -do { \ - static uint32_t gPrevLogTime = 0; \ - uint32_t curTime = SkTime::GetMSecs(); \ - if (curTime - gPrevLogTime > DBG_NAV_LOG_THROTTLE_INTERVAL) { \ - LOGD("%s " format, __FUNCTION__, __VA_ARGS__); \ - gPrevLogTime = curTime; \ - } \ -} while (false) #define DEBUG_NAV_UI_LOGD(...) LOGD(__VA_ARGS__) #else #define DBG_NAV_LOG(message) ((void)0) |