aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrGpuResource.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-02-19 08:24:16 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-19 08:24:16 -0800
commitf99e961f55bb603d099c8cb57d05a2ae52a4e9ca (patch)
tree4639f4c06a127fb69f810f320a2686cfb3e0ba1d /include/gpu/GrGpuResource.h
parent4675819b9dbb3ad71ec851776e5de26d342f29fe (diff)
Allow resources' unique keys to be changed.
Diffstat (limited to 'include/gpu/GrGpuResource.h')
-rw-r--r--include/gpu/GrGpuResource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrGpuResource.h b/include/gpu/GrGpuResource.h
index 80b50e308e..e2f23e0289 100644
--- a/include/gpu/GrGpuResource.h
+++ b/include/gpu/GrGpuResource.h
@@ -269,7 +269,7 @@ private:
virtual size_t onGpuMemorySize() const = 0;
// See comments in CacheAccess and ResourcePriv.
- bool setUniqueKey(const GrUniqueKey&);
+ void setUniqueKey(const GrUniqueKey&);
void removeUniqueKey();
void notifyIsPurgeable() const;
void removeScratchKey();