aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private/GrSingleOwner.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2016-01-07 11:32:39 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-07 11:32:40 -0800
commitf9bc796e0dbd31674c22b34761913ee6e8fdd66a (patch)
treee3df859198b69533e4c7d96c20662ca3a84d8e68 /include/private/GrSingleOwner.h
parentbfd5f171e6a3eccd7c4bede652a85fd76bcbce2a (diff)
Make a single GrSingleOwner in GrContext
Diffstat (limited to 'include/private/GrSingleOwner.h')
-rw-r--r--include/private/GrSingleOwner.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/private/GrSingleOwner.h b/include/private/GrSingleOwner.h
index dea982e89a..64e63d3b19 100644
--- a/include/private/GrSingleOwner.h
+++ b/include/private/GrSingleOwner.h
@@ -48,6 +48,8 @@ private:
SkThreadID fOwner; // guarded by fMutex
int fReentranceCount; // guarded by fMutex
};
+#else
+class GrSingleOwner {}; // Provide a dummy implementation so we can pass pointers to constructors
#endif
#endif