Index: views/view.cc |
diff --git a/views/view.cc b/views/view.cc |
index 123fe8675f00bfd7274566e244e5cde2abdbfffd..248622b03ed79961bdacf0183181e776d7d5df51 100644 |
--- a/views/view.cc |
+++ b/views/view.cc |
@@ -433,7 +433,7 @@ bool View::HitTest(const gfx::Point& l) const { |
// TODO: can this use SkRegion's contains instead? |
#if defined(OS_WIN) |
return !!PtInRegion(rgn, l.x(), l.y()); |
-#elif defined(OS_LINUX) |
+#elif defined(TOOLKIT_USES_GTK) |
return gdk_region_point_in(rgn.Get(), l.x(), l.y()); |
#endif |
} |