diff options
author | egdaniel <egdaniel@google.com> | 2015-08-06 10:54:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-06 10:54:13 -0700 |
commit | 51c8d409ad55a72eceb46ec7b65702d6d540aa4f (patch) | |
tree | 4b37a2800d5f057c7577988307e724d85c7a79c0 /src/gpu/GrTargetCommands.cpp | |
parent | b4f9d0ec6cc95ce46f9351fee5adaffcfa729e38 (diff) |
Move some work from backend onClear to base class clear
BUG=skia:
Review URL: https://codereview.chromium.org/1275543005
Diffstat (limited to 'src/gpu/GrTargetCommands.cpp')
-rw-r--r-- | src/gpu/GrTargetCommands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrTargetCommands.cpp b/src/gpu/GrTargetCommands.cpp index 3096e27692..713514fab8 100644 --- a/src/gpu/GrTargetCommands.cpp +++ b/src/gpu/GrTargetCommands.cpp @@ -91,7 +91,7 @@ void GrTargetCommands::Clear::execute(GrGpu* gpu) { if (GrColor_ILLEGAL == fColor) { gpu->discard(this->renderTarget()); } else { - gpu->clear(&fRect, fColor, fCanIgnoreRect, this->renderTarget()); + gpu->clear(fRect, fColor, this->renderTarget()); } } |