From 4a0335562999c54f09b48a51e98d2ec695216471 Mon Sep 17 00:00:00 2001 From: "Shimeng (Simon) Wang" Date: Wed, 25 May 2011 17:59:48 -0700 Subject: Fix compilation error when debug_nav_ui is turned on. Change-Id: I554f12a3d1ee2baa04288467e6fd46b1cdce9f9c --- Source/WebKit/android/nav/CachedRoot.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source') diff --git a/Source/WebKit/android/nav/CachedRoot.cpp b/Source/WebKit/android/nav/CachedRoot.cpp index e841683..5c16c91 100644 --- a/Source/WebKit/android/nav/CachedRoot.cpp +++ b/Source/WebKit/android/nav/CachedRoot.cpp @@ -1158,8 +1158,10 @@ const CachedNode* CachedRoot::findAt(const WebCore::IntRect& rect, #if DEBUG_NAV_UI DBG_NAV_LOGD("rect=(%d,%d,w=%d,h=%d) xy=(%d,%d)", rect.x(), rect.y(), rect.width(), rect.height(), *x, *y); +#if DUMP_NAV_CACHE if (mRootLayer) CachedLayer::Debug::printRootLayerAndroid(mRootLayer); #endif +#endif int best = INT_MAX; bool inside = false; (const_cast(this))->resetClippedOut(); -- cgit v1.1