Commit 3d588ed2 authored by yutak's avatar yutak Committed by Commit bot

Remove obsolete friend declarations for MSVC.

These friend declarations were added because MSVC had a bug around the
visibility of nested classes. They are no longer necessary.

BUG=617504

Review-Url: https://codereview.chromium.org/2041273002
Cr-Commit-Position: refs/heads/master@{#398255}
parent f8eb2756
...@@ -195,10 +195,6 @@ protected: ...@@ -195,10 +195,6 @@ protected:
Chunk* m_current; Chunk* m_current;
size_t m_currentChunkSize; size_t m_currentChunkSize;
Vector<OwnPtr<Chunk>> m_chunks; Vector<OwnPtr<Chunk>> m_chunks;
#if COMPILER(MSVC)
friend struct ::WTF::OwnedPtrDeleter<Chunk>;
#endif
}; };
} // namespace blink } // namespace blink
......
...@@ -177,9 +177,6 @@ private: ...@@ -177,9 +177,6 @@ private:
} }
}; };
#if COMPILER(MSVC)
friend struct ::WTF::OwnedPtrDeleter<DerivedFontData>;
#endif
mutable OwnPtr<DerivedFontData> m_derivedFontData; mutable OwnPtr<DerivedFontData> m_derivedFontData;
RefPtr<CustomFontData> m_customFontData; RefPtr<CustomFontData> m_customFontData;
......
...@@ -78,9 +78,6 @@ public: ...@@ -78,9 +78,6 @@ public:
protected: protected:
struct RunInfo; struct RunInfo;
#if COMPILER(MSVC)
friend struct ::WTF::OwnedPtrDeleter<RunInfo>;
#endif
ShapeResult(const Font*, unsigned numCharacters, TextDirection); ShapeResult(const Font*, unsigned numCharacters, TextDirection);
ShapeResult(const ShapeResult&); ShapeResult(const ShapeResult&);
......
...@@ -65,9 +65,6 @@ private: ...@@ -65,9 +65,6 @@ private:
PaintArtifact m_paintArtifact; PaintArtifact m_paintArtifact;
bool m_built; bool m_built;
// To make MSVC happy.
friend struct WTF::OwnedPtrDeleter<DummyRectClient>;
}; };
} // namespace blink } // namespace blink
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment