Summary: | Fix build warnings : -Wunused-parameter, -Wunused-variable | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Byungwoo Lee <bw80.lee> | ||||||
Component: | WebCore Misc. | Assignee: | Byungwoo Lee <bw80.lee> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | dino, eric, gyuyoung.kim, haraken, noam, rakuco, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Byungwoo Lee
2012-10-16 22:21:44 PDT
Created attachment 169091 [details]
Patch
Comment on attachment 169091 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=169091&action=review Let's rebase with the latest WebKit and make bots green. > Source/WebCore/platform/graphics/texmap/TextureMapper.h:76 > + virtual bool canReuseWith(const IntSize& /* contentsSize */, Flags flags = 0) You can write 'Flags = 0' and remove UNUSED_PARAM(). > Source/WebCore/platform/graphics/texmap/TextureMapper.h:147 > + virtual void beginPainting(PaintFlags flags = 0) Ditto. > Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:410 > +void TextureMapperLayer::flushCompositingStateSelf(GraphicsLayerTextureMapper* graphicsLayer, TextureMapper* /* textureMapper */) Remove this argument instead of commenting out. (In reply to comment #2) > (From update of attachment 169091 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=169091&action=review > > Let's rebase with the latest WebKit and make bots green. > > > Source/WebCore/platform/graphics/texmap/TextureMapper.h:76 > > + virtual bool canReuseWith(const IntSize& /* contentsSize */, Flags flags = 0) > > You can write 'Flags = 0' and remove UNUSED_PARAM(). > > > Source/WebCore/platform/graphics/texmap/TextureMapper.h:147 > > + virtual void beginPainting(PaintFlags flags = 0) > > Ditto. > > > Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:410 > > +void TextureMapperLayer::flushCompositingStateSelf(GraphicsLayerTextureMapper* graphicsLayer, TextureMapper* /* textureMapper */) > > Remove this argument instead of commenting out. Thanks for the comment. I'll do those :) Created attachment 169145 [details]
Patch
Comment on attachment 169145 [details] Patch Clearing flags on attachment: 169145 Committed r131617: <http://trac.webkit.org/changeset/131617> All reviewed patches have been landed. Closing bug. |