summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShimeng (Simon) Wang <swang@google.com>2011-05-25 17:59:48 -0700
committerShimeng (Simon) Wang <swang@google.com>2011-05-25 18:22:07 -0700
commit4a0335562999c54f09b48a51e98d2ec695216471 (patch)
tree65b59af827bc16ea23b545c8ba9e252ffc6ea64e
parent31afed8bf83b9f656fb76216c2f41e3971ae390d (diff)
downloadexternal_webkit-4a0335562999c54f09b48a51e98d2ec695216471.zip
external_webkit-4a0335562999c54f09b48a51e98d2ec695216471.tar.gz
external_webkit-4a0335562999c54f09b48a51e98d2ec695216471.tar.bz2
Fix compilation error when debug_nav_ui is turned on.
Change-Id: I554f12a3d1ee2baa04288467e6fd46b1cdce9f9c
-rw-r--r--Source/WebKit/android/nav/CachedRoot.cpp2
1 files changed, 2 insertions, 0 deletions
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<CachedRoot*>(this))->resetClippedOut();