[Webkit-unassigned] [Bug 121692] Move layer hierarchy functions from RenderObject to RenderElement

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 20 20:07:53 PDT 2013


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





--- Comment #12 from Darin Adler <darin at apple.com>  2013-09-20 20:06:57 PST ---
(From update of attachment 212202)
View in context: https://bugs.webkit.org/attachment.cgi?id=212202&action=review

>> Source/WebCore/rendering/RenderElement.cpp:336
>> +        if ((layer = parent()->enclosingLayer()))
> 
> Extra () pair here.

You need that extra () to tell the compiler that you mean this as an assignment, not an == test. It turns off the warning.

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