diff options
author | Cary Clark <cary@android.com> | 2009-08-25 10:46:28 -0400 |
---|---|---|
committer | Cary Clark <cary@android.com> | 2009-08-25 11:32:30 -0400 |
commit | 9d04f66389be496d5c6336ea09550dc4086b7f85 (patch) | |
tree | 76fbbd342ecaeff4062f1ef27c58ffff5756b662 /WebKit | |
parent | 59d6f2367e5fd0e25609fed4b5bb77b0c740d677 (diff) | |
download | external_webkit-9d04f66389be496d5c6336ea09550dc4086b7f85.zip external_webkit-9d04f66389be496d5c6336ea09550dc4086b7f85.tar.gz external_webkit-9d04f66389be496d5c6336ea09550dc4086b7f85.tar.bz2 |
fix a couple of debug print errors
Diffstat (limited to 'WebKit')
-rw-r--r-- | WebKit/android/jni/WebViewCore.cpp | 2 | ||||
-rw-r--r-- | WebKit/android/nav/WebView.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/WebKit/android/jni/WebViewCore.cpp b/WebKit/android/jni/WebViewCore.cpp index 2f9a4fc..7bc16f1 100644 --- a/WebKit/android/jni/WebViewCore.cpp +++ b/WebKit/android/jni/WebViewCore.cpp @@ -966,7 +966,7 @@ void WebViewCore::setSizeScreenWidthAndScale(int width, int height, int oh = window->height(); window->setSize(width, height); int osw = m_screenWidth; - DBG_NAV_LOGD("old:(w=%d,h=%d,sw=%d,scale=%d) new:(w=%d,h=%d,sw=%d,scale=%g)", + DBG_NAV_LOGD("old:(w=%d,h=%d,sw=%d,scale=%g) new:(w=%d,h=%d,sw=%d,scale=%g)", ow, oh, osw, m_scale, width, height, screenWidth, scale); m_screenWidth = screenWidth; m_screenHeight = screenHeight; diff --git a/WebKit/android/nav/WebView.cpp b/WebKit/android/nav/WebView.cpp index 59d0c6f..b4c0281 100644 --- a/WebKit/android/nav/WebView.cpp +++ b/WebKit/android/nav/WebView.cpp @@ -1199,8 +1199,8 @@ void sendMotionUp( WebCore::Frame* framePtr, WebCore::Node* nodePtr, int x, int y) { m_viewImpl->m_touchGeneration = m_viewImpl->m_generation = ++m_generation; - DBG_NAV_LOGD("m_generation=%d framePtr=%p nodePtr=%p x=%d y=%d slop=%d", - m_generation, framePtr, nodePtr, x, y, slop); + DBG_NAV_LOGD("m_generation=%d framePtr=%p nodePtr=%p x=%d y=%d", + m_generation, framePtr, nodePtr, x, y); LOG_ASSERT(m_javaGlue.m_obj, "A WebView was not associated with this WebViewNative!"); JNIEnv* env = JSC::Bindings::getJNIEnv(); env->CallVoidMethod(m_javaGlue.object(env).get(), m_javaGlue.m_sendMotionUp, |