[Webkit-unassigned] [Bug 78872] [chromium] ScrollbarLayerChromium/CCScrollbarLayerImpl for CC-side scrollbar painting

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 16 21:28:40 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=78872





--- Comment #2 from James Robinson <jamesr at chromium.org>  2012-02-16 21:28:40 PST ---
(From update of attachment 127514)
View in context: https://bugs.webkit.org/attachment.cgi?id=127514&action=review

> Source/WebCore/rendering/RenderLayerCompositor.cpp:1839
> +#if PLATFORM(CHROMIUM)
> +            Scrollbar* scrollbar = m_renderView->frameView()->horizontalScrollbar();
> +            if (ScrollbarThemeCCScroll* theme = scrollbar->theme()->toScrollbarThemeCCScroll())
> +                theme->attachToGraphicsLayer(scrollbar, m_scrollLayer.get(), m_layerForHorizontalScrollbar.get());
> +#endif

if you look a few lines below here there's a call to ScrollingCoordinator::frameViewHorizontalScrollbarLayerDidChange().  I think we want to put the ScrollbarLayerChromium creation and hookup inside our implementation of that function, not in here.

I also don't think that this should have anything at all to do with the ScrollbarTheme.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list