[Webkit-unassigned] [Bug 119710] Use the correct preprocessor in shouldRepaintFixedBackgroundsOnScroll()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 12 18:10:56 PDT 2013


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





--- Comment #3 from Darin Adler <darin at apple.com>  2013-08-12 18:10:32 PST ---
(From update of attachment 208579)
View in context: https://bugs.webkit.org/attachment.cgi?id=208579&action=review

>> Source/WebCore/rendering/RenderObject.cpp:129
>> +#if !ENABLE(FAST_MOBILE_SCROLLING) || (ENABLE(FAST_MOBILE_SCROLLING) && !PLATFORM(QT))
> 
> That’s the same as just change && to ||, why make it so complicated?

In other words, this is:

    #if !A || (A && !B)

Which is the same as:

    #if !A || !B

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