Commit cdb94508 by Geoff Lang

Add a RefCountObject::getRefCount method for testing.

BUG=angleproject:970 Change-Id: I4fae29766ee76512375872535dbaf2d31a379de0 Reviewed-on: https://chromium-review.googlesource.com/286551Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org> Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent 1915652e
...@@ -29,6 +29,8 @@ class RefCountObject : angle::NonCopyable ...@@ -29,6 +29,8 @@ class RefCountObject : angle::NonCopyable
GLuint id() const { return mId; } GLuint id() const { return mId; }
size_t getRefCount() const { return mRefCount; }
private: private:
GLuint mId; GLuint mId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment