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

Unified Diff: webkit/tools/test_shell/webwidget_host.h

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: webkit/tools/test_shell/webwidget_host.h
diff --git a/webkit/tools/test_shell/webwidget_host.h b/webkit/tools/test_shell/webwidget_host.h
index cf66ed8f0f8e78fae4536d3a214365055f1f3a01..86188c0317c94a8f1b8fa65c2c0f28164f8316f6 100644
--- a/webkit/tools/test_shell/webwidget_host.h
+++ b/webkit/tools/test_shell/webwidget_host.h
@@ -94,7 +94,7 @@ class WebWidgetHost {
void KeyEvent(NSEvent *);
void SetFocus(bool enable);
protected:
-#elif defined(OS_LINUX)
+#elif defined(TOOLKIT_USES_GTK)
public:
// ---------------------------------------------------------------------------
// This is needed on Linux because the GtkWidget creation is the same between
@@ -139,7 +139,7 @@ class WebWidgetHost {
bool track_mouse_leave_;
#endif
-#if defined(OS_LINUX)
+#if defined(TOOLKIT_GTK)
// Since GtkWindow resize is asynchronous, we have to stash the dimensions,
// so that the backing store doesn't have to wait for sizing to take place.
gfx::Size logical_size_;

Powered by Google App Engine
This is Rietveld 408576698