diff options
author | hans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-26 21:36:45 +0000 |
---|---|---|
committer | hans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-26 21:36:45 +0000 |
commit | 1779229fbdfc932b938af42929861187710a2606 (patch) | |
tree | f6c9aa330e1e65bdcbe033ff9cd61636a3ccc91b /ui/gfx/platform_font_win.h | |
parent | a0d443d7dd9ecfac50d4ad6ca4ba43a904a1654c (diff) | |
download | chromium_src-1779229fbdfc932b938af42929861187710a2606.zip chromium_src-1779229fbdfc932b938af42929861187710a2606.tar.gz chromium_src-1779229fbdfc932b938af42929861187710a2606.tar.bz2 |
Export PlatformFontWin::HFontRef
The inner class needs to be exported in case any uses in inline methods
or vtable of the outer class causes it to potentially be referenced across
a shared library boundary.
On non-Windows, the visibility attribute is already inherited by nested
classes, but on Windows, they must be marked explicitly.
BUG=82385
TEST=use Clang to do component release build of chrome on Windows
Review URL: https://codereview.chromium.org/349443005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280111 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/platform_font_win.h')
-rw-r--r-- | ui/gfx/platform_font_win.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gfx/platform_font_win.h b/ui/gfx/platform_font_win.h index c072262..a472207 100644 --- a/ui/gfx/platform_font_win.h +++ b/ui/gfx/platform_font_win.h @@ -76,7 +76,7 @@ class GFX_EXPORT PlatformFontWin : public PlatformFont { // HFontRef is reference counted. Upon deletion, it deletes the HFONT. // By making HFontRef maintain the reference to the HFONT, multiple // HFontRefs can share the same HFONT, and Font can provide value semantics. - class HFontRef : public base::RefCounted<HFontRef> { + class GFX_EXPORT HFontRef : public base::RefCounted<HFontRef> { public: // This constructor takes control of the HFONT, and will delete it when // the HFontRef is deleted. |