This can't be what you intended...

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2368273002

NOTREECHECKS=true

Review-Url: https://codereview.chromium.org/2368273002
This commit is contained in:
mtklein 2016-09-26 08:44:47 -07:00 committed by Commit bot
parent f347c51226
commit 8b4a2026fd

View File

@ -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) {