[Webkit-unassigned] [Bug 66226] Chromium Mac: Rubber banding gutter drawing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 15 12:33:12 PDT 2011


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





--- Comment #12 from asvitkine at chromium.org  2011-08-15 12:33:12 PST ---
> > Source/WebCore/platform/chromium/ScrollbarThemeChromiumMac.mm:684
> > +    const unsigned kNumShadowColors = sizeof(kShadowColors)/sizeof(kShadowColors[0]);
> 
> WTF_ARRAY_LENGTH

Thanks! Done.

> > Source/WebCore/platform/chromium/ScrollbarThemeChromiumMac.mm:712
> > +            gradient = Gradient::create(FloatPoint(0, shadowRect.maxY()), FloatPoint(0, shadowRect.y()));
> 
> Is there any point in caching the gradients? (Do other client usually do this?)

I'm not sure we can, since the gradient properties are dynamic.

-- 
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