[Webkit-unassigned] [Bug 55416] Viewport no longer allows an auto value for "user-scalable"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 7 21:02:17 PST 2011


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





--- Comment #5 from Joseph Pecoraro <joepeck at webkit.org>  2011-03-07 21:02:16 PST ---
> Source/WebKit2/UIProcess/API/qt/qwkpage.cpp:564:  Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons.  [readability/comparison_to_zero] [5]

Bah, I just wanted to be explicit about the conversion from non-zero to true.
Since possible values are -1, 0, and 1, it seems weird to me here to do
static_cast<bool>(someFloat), but I could do that. Same with !0.

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