Index: src/gpu/GrWindowRectangles.h |
diff --git a/src/gpu/GrWindowRectangles.h b/src/gpu/GrWindowRectangles.h |
index 682af9353d9e4ceb0765cf5ac4f6b005d6b5dfee..b2f6e1ab4ad2f80ea216820dc3b6714334acb798 100644 |
--- a/src/gpu/GrWindowRectangles.h |
+++ b/src/gpu/GrWindowRectangles.h |
@@ -13,7 +13,7 @@ |
class GrWindowRectangles { |
public: |
- constexpr static int kMaxWindows = 16; |
+ constexpr static int kMaxWindows = 8; |
enum class Mode : bool { |
kExclusive, |
@@ -25,7 +25,7 @@ public: |
~GrWindowRectangles() { SkSafeUnref(this->rec()); } |
Mode mode() const { return fMode; } |
- uint16_t count() const { return fCount; } |
+ int count() const { return fCount; } |
bool disabled() const { return Mode::kExclusive == fMode && !fCount; } |
const SkIRect* data() const; |