Merge "Fix bug in synchronization code for Vulkan WebView"

This commit is contained in:
TreeHugger Robot
2018-12-06 02:13:55 +00:00
committed by Android (Google) Code Review

View File

@@ -46,7 +46,7 @@ public:
ScopedDrawRequest() { beginDraw(); }
private:
void beginDraw() {
std::lock_guard{sLock};
std::lock_guard _lock{sLock};
if (!sGLDrawThread) {
sGLDrawThread = new ThreadBase{};