Changeset 148881 in webkit
- Timestamp:
- Apr 22, 2013 7:26:28 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r148879 r148881 1 2013-04-22 Xuefei Ren <xren@blackberry.com> 2 3 4 fix build warning(unused parameter) 5 https://bugs.webkit.org/show_bug.cgi?id=114855 6 7 Reviewed by Rob Buis. 8 9 remove warning(unused parameter) in 10 Source/WebCore/platform/graphics/blackberry 11 12 * platform/graphics/blackberry/CanvasLayerWebKitThread.cpp: 13 (WebCore::CanvasLayerCompositingThreadClient::drawTextures): 14 (WebCore::CanvasLayerCompositingThreadClient::deleteTextures): 15 (WebCore::CanvasLayerCompositingThreadClient::commitPendingTextureUploads): 16 * platform/graphics/blackberry/FontBlackBerry.cpp: 17 (WebCore::Font::offsetForPositionForComplexText): 18 * platform/graphics/blackberry/FontCacheBlackBerry.cpp: 19 (WebCore::FontCache::getSimilarFontPlatformData): 20 (WebCore::FontCache::getTraitsInFamily): 21 * platform/graphics/blackberry/GlyphPageTreeNodeBlackBerry.cpp: 22 (WebCore::GlyphPage::fill): 23 * platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp: 24 (WebCore::GraphicsContext3D::ImageExtractor::extractImage): 25 * platform/graphics/blackberry/GraphicsContextBlackBerry.cpp: 26 (WebCore::GraphicsContext::drawConvexPolygon): 27 (WebCore::GraphicsContext::fillRect): 28 (WebCore::GraphicsContext::fillRoundedRect): 29 (WebCore::GraphicsContext::roundToDevicePixels): 30 (WebCore::GraphicsContext::setPlatformShadow): 31 (WebCore::GraphicsContext::clipConvexPolygon): 32 (WebCore::GraphicsContext::setURLForRect): 33 (WebCore::GraphicsContext::setPlatformStrokeColor): 34 (WebCore::GraphicsContext::setPlatformFillColor): 35 (WebCore::GraphicsContext::setPlatformCompositeOperation): 36 * platform/graphics/blackberry/ImageBlackBerry.cpp: 37 (WebCore::BitmapImage::draw): 38 (WebCore::Image::drawPattern): 39 * platform/graphics/blackberry/ImageBufferBlackBerry.cpp: 40 (WebCore::flushAndDraw): 41 (WebCore::ImageBuffer::ImageBuffer): 42 (WebCore::ImageBuffer::copyImage): 43 (WebCore::ImageBuffer::draw): 44 (WebCore::ImageBuffer::platformTransformColorSpace): 45 * platform/graphics/blackberry/LayerTiler.cpp: 46 (WebCore::LayerTiler::drawTile): 47 * platform/graphics/blackberry/PathBlackBerry.cpp: 48 (WebCore::GraphicsContext::drawFocusRing): 49 (WebCore::GraphicsContext::clipPath): 50 * platform/graphics/blackberry/PatternBlackBerry.cpp: 51 (WebCore::Pattern::platformPattern): 52 1 53 2013-04-22 Mike Fenton <mifenton@rim.com> 2 54 -
trunk/Source/WebCore/platform/graphics/blackberry/CanvasLayerWebKitThread.cpp
r144465 r148881 59 59 } 60 60 61 void CanvasLayerCompositingThreadClient::drawTextures(LayerCompositingThread* layer, double scale, const GLES2Program&)61 void CanvasLayerCompositingThreadClient::drawTextures(LayerCompositingThread* layer, double, const GLES2Program&) 62 62 { 63 63 if (!m_buffer) … … 71 71 } 72 72 73 void CanvasLayerCompositingThreadClient::deleteTextures(LayerCompositingThread* layer)73 void CanvasLayerCompositingThreadClient::deleteTextures(LayerCompositingThread*) 74 74 { 75 75 // Nothing to do here, the buffer is not owned by us. 76 76 } 77 77 78 void CanvasLayerCompositingThreadClient::commitPendingTextureUploads(LayerCompositingThread* layer)78 void CanvasLayerCompositingThreadClient::commitPendingTextureUploads(LayerCompositingThread*) 79 79 { 80 80 if (!m_buffer) -
trunk/Source/WebCore/platform/graphics/blackberry/FontBlackBerry.cpp
r144612 r148881 63 63 64 64 // Return the code point index for the given |x| offset into the text run. 65 int Font::offsetForPositionForComplexText(const TextRun& run, float position, bool includePartialGlyphs) const65 int Font::offsetForPositionForComplexText(const TextRun& run, float position, bool) const 66 66 { 67 67 // FIXME: This truncation is not a problem for HTML, but only affects SVG, which passes floating-point numbers -
trunk/Source/WebCore/platform/graphics/blackberry/FontCacheBlackBerry.cpp
r147639 r148881 179 179 } 180 180 181 PassRefPtr<SimpleFontData> FontCache::getSimilarFontPlatformData(const Font& font)181 PassRefPtr<SimpleFontData> FontCache::getSimilarFontPlatformData(const Font&) 182 182 { 183 183 return 0; … … 213 213 } 214 214 215 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks)215 void FontCache::getTraitsInFamily(const AtomicString&, Vector<unsigned>&) 216 216 { 217 217 notImplemented(); -
trunk/Source/WebCore/platform/graphics/blackberry/GlyphPageTreeNodeBlackBerry.cpp
r144612 r148881 48 48 }; 49 49 50 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData)50 bool GlyphPage::fill(unsigned offset, unsigned, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) 51 51 { 52 52 bool haveGlyphs = false; -
trunk/Source/WebCore/platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp
r148680 r148881 387 387 } 388 388 389 bool GraphicsContext3D::ImageExtractor::extractImage(bool premultiplyAlpha, bool ignoreGammaAndColorProfile)389 bool GraphicsContext3D::ImageExtractor::extractImage(bool premultiplyAlpha, bool) 390 390 { 391 391 if (!m_image) -
trunk/Source/WebCore/platform/graphics/blackberry/GraphicsContextBlackBerry.cpp
r145226 r148881 175 175 } 176 176 177 void GraphicsContext::drawConvexPolygon(size_t numPoints, const FloatPoint* points, bool shouldAntialias)177 void GraphicsContext::drawConvexPolygon(size_t numPoints, const FloatPoint* points, bool) 178 178 { 179 179 if (paintingDisabled()) … … 201 201 } 202 202 203 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, ColorSpace colorSpace)203 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, ColorSpace) 204 204 { 205 205 if (paintingDisabled()) … … 235 235 } 236 236 237 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace)237 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace) 238 238 { 239 239 if (paintingDisabled()) … … 246 246 } 247 247 248 FloatRect GraphicsContext::roundToDevicePixels(const FloatRect& rect, RoundingMode roundingMode)248 FloatRect GraphicsContext::roundToDevicePixels(const FloatRect& rect, RoundingMode) 249 249 { 250 250 return rect; 251 251 } 252 252 253 void GraphicsContext::setPlatformShadow(const FloatSize& offset, float blur, const Color& color, ColorSpace colorSpace)253 void GraphicsContext::setPlatformShadow(const FloatSize& offset, float blur, const Color& color, ColorSpace) 254 254 { 255 255 if (paintingDisabled()) … … 354 354 } 355 355 356 void GraphicsContext::clipConvexPolygon(size_t numPoints, const FloatPoint* points, bool antialias)356 void GraphicsContext::clipConvexPolygon(size_t numPoints, const FloatPoint* points, bool) 357 357 { 358 358 if (paintingDisabled()) … … 396 396 } 397 397 398 void GraphicsContext::setURLForRect(const KURL& link, const IntRect& destRect)398 void GraphicsContext::setURLForRect(const KURL&, const IntRect&) 399 399 { 400 400 } … … 408 408 } 409 409 410 void GraphicsContext::setPlatformStrokeColor(const Color& color, ColorSpace colorSpace)410 void GraphicsContext::setPlatformStrokeColor(const Color& color, ColorSpace) 411 411 { 412 412 if (paintingDisabled()) … … 432 432 } 433 433 434 void GraphicsContext::setPlatformFillColor(const Color& color, ColorSpace colorSpace)434 void GraphicsContext::setPlatformFillColor(const Color& color, ColorSpace) 435 435 { 436 436 if (paintingDisabled()) … … 440 440 } 441 441 442 void GraphicsContext::setPlatformCompositeOperation(CompositeOperator op, BlendMode blendMode)442 void GraphicsContext::setPlatformCompositeOperation(CompositeOperator op, BlendMode) 443 443 { 444 444 if (paintingDisabled()) -
trunk/Source/WebCore/platform/graphics/blackberry/ImageBlackBerry.cpp
r147622 r148881 125 125 } 126 126 127 void BitmapImage::draw(GraphicsContext* context, const FloatRect& dstRect, const FloatRect& srcRect, ColorSpace styleColorSpace, CompositeOperator op, RespectImageOrientationEnum shouldRespectImageOrientation)127 void BitmapImage::draw(GraphicsContext* context, const FloatRect& dstRect, const FloatRect& srcRect, ColorSpace, CompositeOperator op, RespectImageOrientationEnum shouldRespectImageOrientation) 128 128 { 129 129 startAnimation(); … … 173 173 } 174 174 175 void Image::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const AffineTransform& patternTransformation, const FloatPoint& phase, ColorSpace styleColorSpace, CompositeOperator op, const FloatRect& dstRect, BlendMode blendMode)175 void Image::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const AffineTransform& patternTransformation, const FloatPoint& phase, ColorSpace, CompositeOperator op, const FloatRect& dstRect, BlendMode) 176 176 { 177 177 NativeImagePtr image = nativeImageForCurrentFrame(); -
trunk/Source/WebCore/platform/graphics/blackberry/ImageBufferBlackBerry.cpp
r146351 r148881 114 114 } 115 115 116 static bool flushAndDraw(const ImageBufferData* object, GraphicsContext* context, ColorSpace styleColorSpace, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator op, bool useLowQualityScale)116 static bool flushAndDraw(const ImageBufferData* object, GraphicsContext* context, ColorSpace, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator op, bool) 117 117 { 118 118 if (!makeBufferCurrent(object->m_window)) { … … 154 154 } 155 155 156 ImageBuffer::ImageBuffer(const IntSize& size, float resolutionScale, ColorSpace colorSpace, RenderingMode renderingMode, HostWindow* window, bool& success)156 ImageBuffer::ImageBuffer(const IntSize& size, float, ColorSpace, RenderingMode renderingMode, HostWindow* window, bool& success) 157 157 : m_size(size) 158 158 , m_logicalSize(size) … … 208 208 } 209 209 210 PassRefPtr<Image> ImageBuffer::copyImage(BackingStoreCopy copyBehavior, ScaleBehavior) const210 PassRefPtr<Image> ImageBuffer::copyImage(BackingStoreCopy, ScaleBehavior) const 211 211 { 212 212 // FIXME respect copyBehaviour enum. … … 225 225 } 226 226 227 void ImageBuffer::draw(GraphicsContext* context, ColorSpace styleColorSpace, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator op, BlendMode blendMode, bool useLowQualityScale)227 void ImageBuffer::draw(GraphicsContext* context, ColorSpace styleColorSpace, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator op, BlendMode, bool useLowQualityScale) 228 228 { 229 229 m_data.draw(m_context.get(), context, styleColorSpace, destRect, srcRect, op, useLowQualityScale); … … 236 236 } 237 237 238 void ImageBuffer::platformTransformColorSpace(const Vector<int>& lookUpTable)238 void ImageBuffer::platformTransformColorSpace(const Vector<int>&) 239 239 { 240 240 } -
trunk/Source/WebCore/platform/graphics/blackberry/LayerTiler.cpp
r148192 r148881 447 447 } 448 448 449 bool LayerTiler::drawTile(LayerCompositingThread* layer, double scale, const TileIndex& index, const FloatRect& dst, const GLES2Program& program)449 bool LayerTiler::drawTile(LayerCompositingThread* layer, double scale, const TileIndex& index, const FloatRect& dst, const GLES2Program&) 450 450 { 451 451 TransformationMatrix drawTransform = layer->drawTransform(); -
trunk/Source/WebCore/platform/graphics/blackberry/PathBlackBerry.cpp
r147386 r148881 232 232 } 233 233 234 void GraphicsContext::drawFocusRing(const Vector<IntRect>& rects, int width, int offset, const Color& color)234 void GraphicsContext::drawFocusRing(const Vector<IntRect>&, int, int, const Color&) 235 235 { 236 236 notImplemented(); 237 237 } 238 238 239 void GraphicsContext::drawFocusRing(const Path& path, int width, int offset, const Color& color)239 void GraphicsContext::drawFocusRing(const Path&, int, int, const Color&) 240 240 { 241 241 notImplemented(); … … 264 264 } 265 265 266 void GraphicsContext::clipPath(const Path& path, WindRule clipRule)266 void GraphicsContext::clipPath(const Path& path, WindRule) 267 267 { 268 268 if (path.platformPath()->isRectangular()) -
trunk/Source/WebCore/platform/graphics/blackberry/PatternBlackBerry.cpp
r144612 r148881 37 37 } 38 38 39 PlatformPatternPtr Pattern::platformPattern(const AffineTransform& patternTransform)39 PlatformPatternPtr Pattern::platformPattern(const AffineTransform&) 40 40 { 41 41 if (m_pattern) -
trunk/Source/WebKit/blackberry/ChangeLog
r148880 r148881 1 2013-04-22 Xuefei Ren <xren@blackberry.com> 2 3 fix build warning(unused parameter) 4 https://bugs.webkit.org/show_bug.cgi?id=114855 5 6 Reviewed by Rob Buis. 7 8 remove warning(unused parameter) in 9 Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp 10 11 * WebKitSupport/InputHandler.cpp: 12 (BlackBerry::WebKit::InputHandler::extractedTextRequest): 13 1 14 2013-04-22 Xan Lopez <xlopez@igalia.com> 2 15 -
trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp
r148879 r148881 2233 2233 } 2234 2234 2235 extracted_text_t* InputHandler::extractedTextRequest(extracted_text_request_t* request, int32_t flags)2235 extracted_text_t* InputHandler::extractedTextRequest(extracted_text_request_t*, int32_t flags) 2236 2236 { 2237 2237 if (!isActiveTextEdit()) -
trunk/Tools/ChangeLog
r148867 r148881 1 2013-04-22 Xuefei Ren <xren@blackberry.com> 2 3 fix build warning(unused parameter) 4 https://bugs.webkit.org/show_bug.cgi?id=114855 5 6 Reviewed by Rob Buis. 7 8 remove warning(unused parameter) in 9 Tools/DumpRenderTree/blackberry/EventSender.cpp 10 11 * DumpRenderTree/blackberry/EventSender.cpp: 12 (getDragModeCallback): 13 1 14 2013-04-22 Alberto Garcia <agarcia@igalia.com> 2 15 -
trunk/Tools/DumpRenderTree/blackberry/EventSender.cpp
r148677 r148881 48 48 // Callbacks 49 49 50 static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef, JSStringRef, JSValueRef* exception)50 static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef, JSStringRef, JSValueRef*) 51 51 { 52 52 notImplemented();
Note: See TracChangeset
for help on using the changeset viewer.