diff options
Diffstat (limited to 'views/view.cc')
-rw-r--r-- | views/view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/view.cc b/views/view.cc index 123fe86..248622b 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 } |