diff options
Diffstat (limited to 'WebCore/platform/mac/ScrollViewMac.mm')
-rw-r--r-- | WebCore/platform/mac/ScrollViewMac.mm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/WebCore/platform/mac/ScrollViewMac.mm b/WebCore/platform/mac/ScrollViewMac.mm index 202d49e..f31b301 100644 --- a/WebCore/platform/mac/ScrollViewMac.mm +++ b/WebCore/platform/mac/ScrollViewMac.mm @@ -57,6 +57,8 @@ NSView *ScrollView::documentView() const return nil; } +#if !ENABLE(EXPERIMENTAL_SINGLE_VIEW_MODE) + void ScrollView::platformAddChild(Widget* child) { BEGIN_BLOCK_OBJC_EXCEPTIONS; @@ -203,4 +205,6 @@ bool ScrollView::platformIsOffscreen() const return ![platformWidget() window] || ![[platformWidget() window] isVisible]; } -} +#endif // !ENABLE(EXPERIMENTAL_SINGLE_VIEW_MODE) + +} // namespace WebCore |