- Revision
- 148676
- Author
- commit-qu...@webkit.org
- Date
- 2013-04-18 07:30:25 -0700 (Thu, 18 Apr 2013)
Log Message
remove build warning(unused parameter)
https://bugs.webkit.org/show_bug.cgi?id=114670
Patch by Xuefei Ren <x...@blackberry.com> on 2013-04-18
Reviewed by Rob Buis.
remove build warning in Source/WebKit/blackberry/Api
* Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::scroll):
(BlackBerry::WebKit::BackingStorePrivate::clearAndUpdateTileOfNotRenderedRegion):
(BlackBerry::WebKit::BackingStorePrivate::paintDefaultBackground):
(BlackBerry::WebKit::BackingStorePrivate::blitTileRect):
(BlackBerry::WebKit::BackingStorePrivate::actualVisibleSizeChanged):
* Api/BlackBerryGlobal.cpp:
(BlackBerry::WebKit::clearAppCache):
(BlackBerry::WebKit::clearDatabase):
* Api/WebOverlay.cpp:
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setContentsToImage):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::layerVisibilityChanged):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::drawTextures):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setContentsToImage):
* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::setCaretHighlightStyle):
* Api/WebPageCompositor.cpp:
(BlackBerry::WebKit::WebPageCompositor::cleanup):
Modified Paths
Diff
Modified: trunk/Source/WebKit/blackberry/Api/BackingStore.cpp (148675 => 148676)
--- trunk/Source/WebKit/blackberry/Api/BackingStore.cpp 2013-04-18 14:24:21 UTC (rev 148675)
+++ trunk/Source/WebKit/blackberry/Api/BackingStore.cpp 2013-04-18 14:30:25 UTC (rev 148676)
@@ -493,9 +493,7 @@
#endif
}
-void BackingStorePrivate::scroll(const Platform::IntSize& delta,
- const Platform::IntRect& scrollViewRect,
- const Platform::IntRect& clipRect)
+void BackingStorePrivate::scroll(const Platform::IntSize& delta, const Platform::IntRect&, const Platform::IntRect&)
{
ASSERT(BlackBerry::Platform::webKitThreadMessageClient()->isCurrentThread());
@@ -885,9 +883,9 @@
return TileIndex(offsetX, offsetY);
}
-void BackingStorePrivate::clearAndUpdateTileOfNotRenderedRegion(const TileIndex& index, TileBuffer* tileBuffer,
+void BackingStorePrivate::clearAndUpdateTileOfNotRenderedRegion(const TileIndex&, TileBuffer* tileBuffer,
const Platform::IntRectRegion& tileNotRenderedRegion,
- BackingStoreGeometry* geometry,
+ BackingStoreGeometry*,
bool update)
{
if (tileNotRenderedRegion.isEmpty())
@@ -1123,7 +1121,7 @@
renderJob();
}
-void BackingStorePrivate::paintDefaultBackground(const Platform::IntRect& dstRect, Platform::ViewportAccessor* viewportAccessor, bool flush)
+void BackingStorePrivate::paintDefaultBackground(const Platform::IntRect& dstRect, Platform::ViewportAccessor* viewportAccessor, bool)
{
Platform::IntRect clippedDstRect = dstRect;
@@ -1479,7 +1477,7 @@
const Platform::IntRect& tilePixelContentsRect,
const Platform::IntPoint& origin,
const WebCore::TransformationMatrix& matrix,
- BackingStoreGeometry* geometry)
+ BackingStoreGeometry*)
{
if (!m_webPage->isVisible() || !isActive() || !tileBuffer)
return Platform::IntRect();
@@ -1732,7 +1730,7 @@
updateTileMatrixIfNeeded();
}
-void BackingStorePrivate::actualVisibleSizeChanged(const Platform::IntSize& size)
+void BackingStorePrivate::actualVisibleSizeChanged(const Platform::IntSize&)
{
}
Modified: trunk/Source/WebKit/blackberry/Api/BlackBerryGlobal.cpp (148675 => 148676)
--- trunk/Source/WebKit/blackberry/Api/BlackBerryGlobal.cpp 2013-04-18 14:24:21 UTC (rev 148675)
+++ trunk/Source/WebKit/blackberry/Api/BlackBerryGlobal.cpp 2013-04-18 14:30:25 UTC (rev 148676)
@@ -137,12 +137,12 @@
fontCache()->invalidate();
}
-void clearAppCache(const BlackBerry::Platform::String& pageGroupName)
+void clearAppCache(const BlackBerry::Platform::String&)
{
cacheStorage().empty();
}
-void clearDatabase(const BlackBerry::Platform::String& pageGroupName)
+void clearDatabase(const BlackBerry::Platform::String&)
{
}
Modified: trunk/Source/WebKit/blackberry/Api/WebOverlay.cpp (148675 => 148676)
--- trunk/Source/WebKit/blackberry/Api/WebOverlay.cpp 2013-04-18 14:24:21 UTC (rev 148675)
+++ trunk/Source/WebKit/blackberry/Api/WebOverlay.cpp 2013-04-18 14:30:25 UTC (rev 148676)
@@ -340,7 +340,7 @@
m_layer->removeFromParent();
}
-void WebOverlayPrivateWebKitThread::setContentsToImage(const unsigned char* data, const WebCore::IntSize& imageSize, WebOverlay::ImageDataAdoptionType adoptionType)
+void WebOverlayPrivateWebKitThread::setContentsToImage(const unsigned char*, const WebCore::IntSize&, WebOverlay::ImageDataAdoptionType)
{
notImplemented();
}
@@ -429,7 +429,7 @@
delete this;
}
-void WebOverlayLayerCompositingThreadClient::layerVisibilityChanged(LayerCompositingThread*, bool visible)
+void WebOverlayLayerCompositingThreadClient::layerVisibilityChanged(LayerCompositingThread*, bool)
{
}
@@ -501,7 +501,7 @@
m_texture->updateContents(textureContents);
}
-void WebOverlayLayerCompositingThreadClient::drawTextures(LayerCompositingThread* layer, double scale, const GLES2Program& program)
+void WebOverlayLayerCompositingThreadClient::drawTextures(LayerCompositingThread* layer, double scale, const GLES2Program&)
{
if (!m_texture || !m_texture->buffer())
return;
@@ -653,7 +653,7 @@
scheduleCompositingRun();
}
-void WebOverlayPrivateCompositingThread::setContentsToImage(const unsigned char* data, const IntSize& imageSize, WebOverlay::ImageDataAdoptionType adoptionType)
+void WebOverlayPrivateCompositingThread::setContentsToImage(const unsigned char* data, const IntSize& imageSize, WebOverlay::ImageDataAdoptionType)
{
if (!m_layerCompositingThreadClient)
return;
Modified: trunk/Source/WebKit/blackberry/Api/WebPage.cpp (148675 => 148676)
--- trunk/Source/WebKit/blackberry/Api/WebPage.cpp 2013-04-18 14:24:21 UTC (rev 148675)
+++ trunk/Source/WebKit/blackberry/Api/WebPage.cpp 2013-04-18 14:30:25 UTC (rev 148676)
@@ -3264,7 +3264,7 @@
}
}
-void WebPage::setCaretHighlightStyle(Platform::CaretHighlightStyle style)
+void WebPage::setCaretHighlightStyle(Platform::CaretHighlightStyle)
{
}
Modified: trunk/Source/WebKit/blackberry/Api/WebPageCompositor.cpp (148675 => 148676)
--- trunk/Source/WebKit/blackberry/Api/WebPageCompositor.cpp 2013-04-18 14:24:21 UTC (rev 148675)
+++ trunk/Source/WebKit/blackberry/Api/WebPageCompositor.cpp 2013-04-18 14:30:25 UTC (rev 148676)
@@ -334,7 +334,7 @@
d->render(targetRect, clipRect, TransformationMatrix(reinterpret_cast<const TransformationMatrix&>(transform)), documentContents, viewport);
}
-void WebPageCompositor::cleanup(Platform::Graphics::GLES2Context* context)
+void WebPageCompositor::cleanup(Platform::Graphics::GLES2Context*)
{
d->setContext(0);
}
Modified: trunk/Source/WebKit/blackberry/ChangeLog (148675 => 148676)
--- trunk/Source/WebKit/blackberry/ChangeLog 2013-04-18 14:24:21 UTC (rev 148675)
+++ trunk/Source/WebKit/blackberry/ChangeLog 2013-04-18 14:30:25 UTC (rev 148676)
@@ -1,5 +1,33 @@
2013-04-18 Xuefei Ren <x...@blackberry.com>
+ remove build warning(unused parameter)
+ https://bugs.webkit.org/show_bug.cgi?id=114670
+
+ Reviewed by Rob Buis.
+
+ remove build warning in Source/WebKit/blackberry/Api
+
+ * Api/BackingStore.cpp:
+ (BlackBerry::WebKit::BackingStorePrivate::scroll):
+ (BlackBerry::WebKit::BackingStorePrivate::clearAndUpdateTileOfNotRenderedRegion):
+ (BlackBerry::WebKit::BackingStorePrivate::paintDefaultBackground):
+ (BlackBerry::WebKit::BackingStorePrivate::blitTileRect):
+ (BlackBerry::WebKit::BackingStorePrivate::actualVisibleSizeChanged):
+ * Api/BlackBerryGlobal.cpp:
+ (BlackBerry::WebKit::clearAppCache):
+ (BlackBerry::WebKit::clearDatabase):
+ * Api/WebOverlay.cpp:
+ (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setContentsToImage):
+ (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::layerVisibilityChanged):
+ (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::drawTextures):
+ (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setContentsToImage):
+ * Api/WebPage.cpp:
+ (BlackBerry::WebKit::WebPage::setCaretHighlightStyle):
+ * Api/WebPageCompositor.cpp:
+ (BlackBerry::WebKit::WebPageCompositor::cleanup):
+
+2013-04-18 Xuefei Ren <x...@blackberry.com>
+
removei build warning (unused parameter )
https://bugs.webkit.org/show_bug.cgi?id=114670