$OpenBSD: patch-content_browser_tab_contents_tab_contents_cc,v 1.3 2011/06/08 20:36:56 robert Exp $
--- content/browser/tab_contents/tab_contents.cc.orig	Mon Jun  6 11:11:27 2011
+++ content/browser/tab_contents/tab_contents.cc	Wed Jun  8 09:58:36 2011
@@ -289,7 +289,7 @@ TabContents::TabContents(Profile* profile,
 
   registrar_.Add(this, NotificationType::RENDER_WIDGET_HOST_DESTROYED,
                  NotificationService::AllSources());
-#if defined(OS_LINUX)
+#if defined(TOOLKIT_GTK)
   registrar_.Add(this, NotificationType::BROWSER_THEME_CHANGED,
                  NotificationService::AllSources());
 #endif
@@ -2471,7 +2471,7 @@ void TabContents::Observe(NotificationType type,
       break;
     }
 
-#if defined(OS_LINUX)
+#if defined(TOOLKIT_GTK)
     case NotificationType::BROWSER_THEME_CHANGED: {
       renderer_preferences_util::UpdateFromSystemSettings(
           &renderer_preferences_, profile());
