Merge "Fix/suppress renderthread google-explicit-constructor warnings"

This commit is contained in:
Treehugger Robot
2018-12-21 05:42:36 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ public:
private:
friend class RenderThread;
CacheManager(const DisplayInfo& display);
explicit CacheManager(const DisplayInfo& display);
void reset(sk_sp<GrContext> grContext);
void destroy();

View File

@@ -127,6 +127,7 @@ private:
fPtr = ptr;
return *this;
}
// NOLINTNEXTLINE(google-explicit-constructor)
operator FNPTR_TYPE() const { return fPtr; }
private: