Change GraphicBuffer fields from uint to int

This changes fields which are tracking GraphicBuffer width and height
to use int instead of uint32_t, which is in keeping with a recent
change to GraphicBuffer itself and avoids a warning (error since this
build uses -Werror).

Change-Id: I66c5c3e3d321d4ef5ea2c40c86ac068111c18662
This commit is contained in:
Dan Stoza
2014-11-12 12:35:42 -08:00
parent d71152fc8d
commit a41f29cc00

View File

@@ -38,7 +38,7 @@ public:
ANDROID_API DeferredLayerUpdater(renderthread::RenderThread& thread, Layer* layer);
ANDROID_API ~DeferredLayerUpdater();
ANDROID_API bool setSize(uint32_t width, uint32_t height) {
ANDROID_API bool setSize(int width, int height) {
if (mWidth != width || mHeight != height) {
mWidth = width;
mHeight = height;
@@ -83,8 +83,8 @@ public:
private:
// Generic properties
uint32_t mWidth;
uint32_t mHeight;
int mWidth;
int mHeight;
bool mBlend;
SkColorFilter* mColorFilter;
int mAlpha;