From: Changhyup Jwa Date: Fri, 21 Jun 2013 12:27:44 +0000 (+0900) Subject: Remove too much printed logs X-Git-Tag: submit/tizen_2.2/20130714.131554~120 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0cbd309d64b60778e4ef600c74b1940ceffd0df;p=framework%2Fweb%2Fwebkit-efl.git Remove too much printed logs [Title] Remove too much printed logs [Issue#] N/A [Problem] Too many logs are printed on DOMWindow and PageClientImpl [Cause] DOMWindow::innerHeight(), innerWidth() and PageClientImpl::pageDidRequestScroll() can be called too much [Solution] Remove logs Change-Id: I11118cb8927a7478c51a56f1b6c30dbd8c60b21d --- diff --git a/Source/WebCore/page/DOMWindow.cpp b/Source/WebCore/page/DOMWindow.cpp index d0c5b7e..cebba14 100644 --- a/Source/WebCore/page/DOMWindow.cpp +++ b/Source/WebCore/page/DOMWindow.cpp @@ -1135,14 +1135,7 @@ int DOMWindow::innerHeight() const // If the device height is overridden, do not include the horizontal scrollbar into the innerHeight (since it is absent on the real device). bool includeScrollbars = !InspectorInstrumentation::shouldApplyScreenHeightOverride(m_frame); - -#if ENABLE(TIZEN_DLOG_SUPPORT) - int result = view->mapFromLayoutToCSSUnits(static_cast(view->visibleContentRect(includeScrollbars).height())); - TIZEN_LOGI(" [%d]", result); - return result; -#else return view->mapFromLayoutToCSSUnits(static_cast(view->visibleContentRect(includeScrollbars).height())); -#endif } int DOMWindow::innerWidth() const @@ -1156,13 +1149,7 @@ int DOMWindow::innerWidth() const // If the device width is overridden, do not include the vertical scrollbar into the innerWidth (since it is absent on the real device). bool includeScrollbars = !InspectorInstrumentation::shouldApplyScreenWidthOverride(m_frame); -#if ENABLE(TIZEN_DLOG_SUPPORT) - int result = view->mapFromLayoutToCSSUnits(static_cast(view->visibleContentRect(includeScrollbars).width())); - TIZEN_LOGI(" [%d]", result); - return result; -#else return view->mapFromLayoutToCSSUnits(static_cast(view->visibleContentRect(includeScrollbars).width())); -#endif } int DOMWindow::screenX() const diff --git a/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp b/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp index cb4b861..45116fa 100755 --- a/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp +++ b/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp @@ -788,9 +788,6 @@ void PageClientImpl::pageDidRequestScroll(const IntPoint& point) IntPoint newPoint = point; newPoint.scale(scaleFactor(), scaleFactor()); #if ENABLE(TIZEN_WEBKIT2_BEFORE_PAGE_RENDERED_SCROLL_POSITION) -#if ENABLE(TIZEN_DLOG_SUPPORT) - TIZEN_LOGI("scroll position: [%d, %d], [%s]", newPoint.x(), newPoint.y(), m_pageDidRendered ? "Rendered" : "Before rendered"); -#endif if (!m_pageDidRendered) m_scrollPositionBeforePageRendered = newPoint; else