Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 247dc6e1 authored by Leon Scroggins III's avatar Leon Scroggins III Committed by Derek Sollenberger
Browse files

Fix use of SkMutex.

Recent change to Skia moved SkMutex into its own header file. Include
it to use and SkMutex.

Use SK_DECLARE_STATIC_MUTEX to remove static initializer/finalizer.

Fixes master-skia build.

Change-Id: I2ab43c511587167b81310d5d55a65604d82761f5
parent 130cf8ce
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
#include "AutoDecodeCancel.h"
#include "SkMutex.h"

static SkMutex  gAutoDecoderCancelMutex;
SK_DECLARE_STATIC_MUTEX(gAutoDecoderCancelMutex);
static AutoDecoderCancel* gAutoDecoderCancel;
#ifdef SK_DEBUG
static int gAutoDecoderCancelCount;