From f9bc796e0dbd31674c22b34761913ee6e8fdd66a Mon Sep 17 00:00:00 2001 From: joshualitt Date: Thu, 7 Jan 2016 11:32:39 -0800 Subject: Make a single GrSingleOwner in GrContext TBR=bsalomon@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1563703004 Review URL: https://codereview.chromium.org/1563703004 --- include/private/GrSingleOwner.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/private/GrSingleOwner.h') 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 -- cgit v1.2.3