[webkit-reviews] review denied: [Bug 79875] [BlackBerry] Upstream classes that handle layer tiling : [Attachment 130087] patch v2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 5 13:12:36 PST 2012


Rob Buis <rwlbuis at gmail.com> has denied Robin Cao
<robin.cao at torchmobile.com.cn>'s request for review:
Bug 79875: [BlackBerry] Upstream classes that handle layer tiling
https://bugs.webkit.org/show_bug.cgi?id=79875

Attachment 130087: patch v2
https://bugs.webkit.org/attachment.cgi?id=130087&action=review

------- Additional Comments from Rob Buis <rwlbuis at gmail.com>
View in context: https://bugs.webkit.org/attachment.cgi?id=130087&action=review


Looks good, can be cleaned up some more.

> Source/WebCore/platform/graphics/blackberry/LayerTile.h:25
> +#include "IntRect.h"

Can be just forward references.

> Source/WebCore/platform/graphics/blackberry/LayerTileData.h:26
> +class LayerTileData {

Not sure if this tiny class deserves its own file. Could we put it in
LayerTile.h?

> Source/WebCore/platform/graphics/blackberry/LayerTiler.cpp:153
> +	   requiredTextureSize = IntSize(m_layer->contents()->width(),
m_layer->contents()->height());

m_layer->contents()->size() should give IntSize too.

> Source/WebCore/platform/graphics/blackberry/LayerTiler.cpp:430
> +    }

I'd prefer:
if (result.second) // Successfully added the new job.
    return;

> Source/WebCore/platform/graphics/blackberry/LayerTiler.cpp:527
> +	       FloatRect rect(-d, -d, 2*d, 2*d);

Watch spacing 2*d

> Source/WebCore/platform/graphics/blackberry/LayerTiler.h:41
> +class TransformationMatrix;

Not used? Please check all.


More information about the webkit-reviews mailing list