Summary: | Add Gradient::hasAlpha | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Patrick R. Gansterer <paroga> | ||||||
Component: | WebCore Misc. | Assignee: | Patrick R. Gansterer <paroga> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 48180 | ||||||||
Attachments: |
|
Description
Patrick R. Gansterer
2010-10-23 05:59:44 PDT
Created attachment 71637 [details]
Patch
Comment on attachment 71637 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=71637&action=review r- due to the for() loop style issue > WebCore/platform/graphics/Gradient.cpp:203 > + for (size_t i = 0; i < m_stops.size(); i++) > + if (m_stops[i].alpha < 1) > + return true; The for loop must have curly braces around it because it's body is more than two lines. Created attachment 71640 [details]
Patch
Comment on attachment 71640 [details]
Patch
r=me Thanks!
Comment on attachment 71640 [details] Patch Clearing flags on attachment: 71640 Committed r70389: <http://trac.webkit.org/changeset/70389> All reviewed patches have been landed. Closing bug. |