| Index: ui/gfx/font_unittest.cc
|
| diff --git a/ui/gfx/font_unittest.cc b/ui/gfx/font_unittest.cc
|
| index 7ea01db4d0b5ff2edbbbb92135315fe84fc3bfda..b8de407bb92df218742f0752ba1e1c873aa80e4e 100644
|
| --- a/ui/gfx/font_unittest.cc
|
| +++ b/ui/gfx/font_unittest.cc
|
| @@ -7,7 +7,7 @@
|
| #include "base/utf_string_conversions.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| -#if defined(OS_LINUX)
|
| +#if defined(OS_POSIX) && !defined(OS_MACOSX)
|
| #include <pango/pango.h>
|
| #elif defined(OS_WIN)
|
| #include "ui/gfx/platform_font_win.h"
|
| @@ -22,7 +22,7 @@ class FontTest : public testing::Test {
|
| // Fulfills the memory management contract as outlined by the comment at
|
| // gfx::Font::GetNativeFont().
|
| void FreeIfNecessary(gfx::NativeFont font) {
|
| -#if defined(OS_LINUX)
|
| +#if defined(OS_POSIX) && !defined(OS_MACOSX)
|
| pango_font_description_free(font);
|
| #endif
|
| }
|
|
|