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

am: 138aae8eaf

Change-Id: I8205f774fc3910ee63a60c92d330eaff6f649982
This commit is contained in:
Chih-Hung Hsieh
2018-12-20 21:57:29 -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: