Index: src/gpu/gl/GrGLGpu.h |
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h |
index b23be3d9a23d2fa2b54a31523b6e9801ccca7e86..20616e452db03f97745ab6e2c2a72ff45fb4a3f6 100644 |
--- a/src/gpu/gl/GrGLGpu.h |
+++ b/src/gpu/gl/GrGLGpu.h |
@@ -430,7 +430,10 @@ private: |
bool valid() const { return kInvalidSurfaceOrigin != fRTOrigin; } |
void invalidate() { fRTOrigin = kInvalidSurfaceOrigin; } |
bool knownDisabled() const { return this->valid() && !fWindowState.enabled(); } |
- void setDisabled() { fRTOrigin = kDefault_GrSurfaceOrigin, fWindowState.setDisabled(); } |
+ void setDisabled() { |
+ fRTOrigin = kDefault_GrSurfaceOrigin; |
+ fWindowState.setDisabled(); |
+ } |
void set(GrSurfaceOrigin rtOrigin, const GrGLIRect& viewport, |
const GrWindowRectsState& windowState) { |