Title: [133543] trunk/Source/WebKit2
Revision
133543
Author
commit-qu...@webkit.org
Date
2012-11-05 16:54:19 -0800 (Mon, 05 Nov 2012)

Log Message

[EFL][WK2] Fix build warning in PageClientLegacyImpl.cpp
https://bugs.webkit.org/show_bug.cgi?id=101266

Patch by KyungTae Kim <ktf....@samsung.com> on 2012-11-05
Reviewed by Laszlo Gombos.

The 'size' is not used when !USE(TILED_BACKING_STORE)
Use UNUSED_PARAM macro for removing -Wunused-parameter warning

* UIProcess/efl/PageClientLegacyImpl.cpp:
(WebKit::PageClientLegacyImpl::updateViewportSize):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (133542 => 133543)


--- trunk/Source/WebKit2/ChangeLog	2012-11-06 00:48:06 UTC (rev 133542)
+++ trunk/Source/WebKit2/ChangeLog	2012-11-06 00:54:19 UTC (rev 133543)
@@ -1,3 +1,16 @@
+2012-11-05  KyungTae Kim  <ktf....@samsung.com>
+
+        [EFL][WK2] Fix build warning in PageClientLegacyImpl.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=101266
+
+        Reviewed by Laszlo Gombos.
+
+        The 'size' is not used when !USE(TILED_BACKING_STORE)
+        Use UNUSED_PARAM macro for removing -Wunused-parameter warning
+
+        * UIProcess/efl/PageClientLegacyImpl.cpp:
+        (WebKit::PageClientLegacyImpl::updateViewportSize):
+
 2012-11-05  Anders Carlsson  <ander...@apple.com>
 
         Begin stubbing out the new remote layer tree drawing area

Modified: trunk/Source/WebKit2/UIProcess/efl/PageClientLegacyImpl.cpp (133542 => 133543)


--- trunk/Source/WebKit2/UIProcess/efl/PageClientLegacyImpl.cpp	2012-11-06 00:48:06 UTC (rev 133542)
+++ trunk/Source/WebKit2/UIProcess/efl/PageClientLegacyImpl.cpp	2012-11-06 00:54:19 UTC (rev 133543)
@@ -49,6 +49,8 @@
 {
 #if USE(TILED_BACKING_STORE)
     m_viewImpl->page()->drawingArea()->setVisibleContentsRect(IntRect(m_viewImpl->scrollPosition(), size), m_viewImpl->scaleFactor(), FloatPoint());
+#else
+    UNUSED_PARAM(size);
 #endif
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to