Type-erase SkAutoMutexAcquire and SkAutoExclusive.
authormtklein <mtklein@chromium.org>
Fri, 10 Jun 2016 20:56:35 +0000 (13:56 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 10 Jun 2016 20:56:35 +0000 (13:56 -0700)
commitf10637f2795b147751ef413237389d230b869360
treec541e51ce4ced899de02eaff49f06aa82f125fda
parent8151103535bab8639dab2cb308b1b9c04651b632
Type-erase SkAutoMutexAcquire and SkAutoExclusive.

This is purely for convenience, to not need to write the lock type
in the guard anymore.  This should all inline away.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2055023003

Review-Url: https://codereview.chromium.org/2055023003
dm/DM.cpp
include/private/SkMutex.h
src/core/SkGlyphCache.cpp
src/ports/SkScalerContext_win_dw.cpp