Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1090)

Unified Diff: views/view.cc

Issue 519030: bsds: views/ and webkit/ support for FreeBSD/OpenBSD (Closed)
Patch Set: Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
}

Powered by Google App Engine
This is Rietveld 408576698