Merge "Fix/suppress renderthread google-explicit-constructor warnings" am: 138aae8eaf

am: 2e2028aee4

Change-Id: I27d1a114816f6ce94751816f7d17720e0a6d8091
This commit is contained in:
Chih-Hung Hsieh
2018-12-20 22:09:53 -08:00
committed by android-build-merger
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: