Index: chrome/views/native_scroll_bar.h |
diff --git a/chrome/views/native_scroll_bar.h b/chrome/views/native_scroll_bar.h |
index 3b9462109cf8f8850ceb78361693eef17b0d4489..8e2f1be1af731b25712835770c64417e5d85ed52 100644 |
--- a/chrome/views/native_scroll_bar.h |
+++ b/chrome/views/native_scroll_bar.h |
@@ -5,6 +5,8 @@ |
#ifndef CHROME_VIEWS_NATIVE_SCROLLBAR_H__ |
#define CHROME_VIEWS_NATIVE_SCROLLBAR_H__ |
+#include "build/build_config.h" |
+ |
#include "chrome/views/scroll_bar.h" |
namespace views { |
@@ -48,9 +50,11 @@ class NativeScrollBar : public ScrollBar { |
static int GetVerticalScrollBarWidth(); |
private: |
+#if defined(OS_WIN) |
// The sb_view_ takes care of keeping sb_container in sync with the |
// view hierarchy |
HWNDView* sb_view_; |
+#endif // defined(OS_WIN) |
// sb_container_ is a custom hwnd that we use to wrap the real |
// windows scrollbar. We need to do this to get the scroll events |