aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTest.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-08-21 11:53:29 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-21 11:53:29 -0700
commit1cbdcde9116e9efb514236faf8cfa42649a041d1 (patch)
tree6eb2e1aa25ee22ae2488e28b84cd983c1f90b072 /src/gpu/GrTest.cpp
parent7f9c9eb91e65f2d83474f2b34f9ed0d9525245ae (diff)
Fix for copy surface not handling dirty context
Diffstat (limited to 'src/gpu/GrTest.cpp')
-rw-r--r--src/gpu/GrTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp
index 2b03238ab4..a41fb06296 100644
--- a/src/gpu/GrTest.cpp
+++ b/src/gpu/GrTest.cpp
@@ -197,10 +197,10 @@ public:
void discard(GrRenderTarget*) override {}
- bool copySurface(GrSurface* dst,
- GrSurface* src,
- const SkIRect& srcRect,
- const SkIPoint& dstPoint) override { return false; };
+ bool onCopySurface(GrSurface* dst,
+ GrSurface* src,
+ const SkIRect& srcRect,
+ const SkIPoint& dstPoint) override { return false; };
bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) const override {
return false;