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:
Chunk* m_current;
size_t m_currentChunkSize;
Vector<OwnPtr<Chunk>> m_chunks;
#if COMPILER(MSVC)
friend struct ::WTF::OwnedPtrDeleter<Chunk>;
#endif
};
} // namespace blink
......
......@@ -177,9 +177,6 @@ private:
}
};
#if COMPILER(MSVC)
friend struct ::WTF::OwnedPtrDeleter<DerivedFontData>;
#endif
mutable OwnPtr<DerivedFontData> m_derivedFontData;
RefPtr<CustomFontData> m_customFontData;
......
......@@ -78,9 +78,6 @@ public:
protected:
struct RunInfo;
#if COMPILER(MSVC)
friend struct ::WTF::OwnedPtrDeleter<RunInfo>;
#endif
ShapeResult(const Font*, unsigned numCharacters, TextDirection);
ShapeResult(const ShapeResult&);
......
......@@ -65,9 +65,6 @@ private:
PaintArtifact m_paintArtifact;
bool m_built;
// To make MSVC happy.
friend struct WTF::OwnedPtrDeleter<DummyRectClient>;
};
} // 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