[Webkit-unassigned] [Bug 89198] Web Inspector: too many hardcoded strings in InspectorBackendDispatcher.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 5 23:17:28 PDT 2012


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


Yury Semikhatsky <yurys at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #150997|review?                     |review+
               Flag|                            |




--- Comment #2 from Yury Semikhatsky <yurys at chromium.org>  2012-07-05 23:17:27 PST ---
(From update of attachment 150997)
View in context: https://bugs.webkit.org/attachment.cgi?id=150997&action=review

> Source/WebCore/inspector/CodeGeneratorInspector.py:1981
> +        size_t length = ARRAY_SIZE(commandNames);

It should be WTF_ARRAY_LENGTH(commandNames), not sure why compiler didn't complain about it. Is ARRAY_SIZE defined somewhere in WebKit, I only see 2 places (http://code.google.com/p/chromium/source/search?q=define%5CsARRAY_SIZE+file%3AWebKit&origq=define%5CsARRAY_SIZE+file%3AWebKit&btnG=Search+Trunk), none of which should be visible here?

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