Index: ui/base/clipboard/clipboard_unittest.cc |
diff --git a/ui/base/clipboard/clipboard_unittest.cc b/ui/base/clipboard/clipboard_unittest.cc |
index 5707a7e6a7b4eba3a6c4393615d54f8e63e0f690..806d68d695c648a6f37ce53b9aa5c7c5ee13369c 100644 |
--- a/ui/base/clipboard/clipboard_unittest.cc |
+++ b/ui/base/clipboard/clipboard_unittest.cc |
@@ -142,7 +142,7 @@ TEST_F(ClipboardTest, TrickyHTMLTest) { |
#endif // defined(OS_WIN) |
} |
-#if defined(OS_POSIX) && !defined(OS_MACOSX) |
+#if defined(TOOLKIT_USES_GTK) |
// Regression test for crbug.com/56298 (pasting empty HTML crashes Linux). |
TEST_F(ClipboardTest, EmptyHTMLTest) { |
Clipboard clipboard; |