OSDN Git Service

Finish up the Rect constructor cleanup
authorPablo Ceballos <pceballos@google.com>
Fri, 23 Oct 2015 23:20:19 +0000 (16:20 -0700)
committerPablo Ceballos <pceballos@google.com>
Fri, 30 Oct 2015 18:06:08 +0000 (11:06 -0700)
Bug 18173359

Change-Id: I36e83ba4e9ce9884533952d8321d22f666cc8a06

include/gui/CpuConsumer.h

index f9d0e7d..b7aa463 100644 (file)
@@ -74,7 +74,7 @@ class CpuConsumer : public ConsumerBase
             height(0),
             format(PIXEL_FORMAT_NONE),
             stride(0),
-            crop(0, 0, 0, 0),
+            crop(Rect::EMPTY_RECT),
             transform(0),
             scalingMode(NATIVE_WINDOW_SCALING_MODE_FREEZE),
             timestamp(0),