[Webkit-unassigned] [Bug 48192] [Cairo] Remove PlatformRefPtrCairo

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 25 13:31:51 PDT 2010


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





--- Comment #5 from Martin Robinson <mrobinson at webkit.org>  2010-10-25 13:31:51 PST ---
(In reply to comment #4)
> WebCore/platform/graphics/cairo/RefPtrCairo.cpp:33:  Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons.  [readability/comparison_to_zero] [5]

I believe these are all false positives. When making the patch I discovered that LIKELY will not accept a pointer as an argument. It requires something which evaluates to a boolean.

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