[Webkit-unassigned] [Bug 73586] Upstream text codec and web string files of BlackBerry API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Dec 10 01:21:13 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=73586
Nikolas Zimmermann <zimmermann at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #118629|review? |review+
Flag| |
--- Comment #7 from Nikolas Zimmermann <zimmermann at kde.org> 2011-12-10 01:21:12 PST ---
(From update of attachment 118629)
View in context: https://bugs.webkit.org/attachment.cgi?id=118629&action=review
Looks good, r=me! Please fix these before landing, or upload another patch that I could cq+.
> Source/WebKit/blackberry/Api/WebKitTextCodec.cpp:23
> +#include "CString.h"
<wtf/text/CString.h>
> Source/WebKit/blackberry/Api/WebKitTextCodec.cpp:53
> + String lowercasedEncoding = String(encoding).lower();
> + if (lowercasedEncoding.startsWith("iso-8859")
We might want to add a comment here, that this is slow and could easily be optimized, by directly inspecting encoding[i].
> Source/WebKit/blackberry/Api/WebString.cpp:26
> +using WTF::String;
WTFString.h already declares that, this is unncessary here, no?
> Source/WebKit/blackberry/Api/WebString.cpp:109
> + return WTF::equal(m_impl, utf8);
doesn't WTF already do "using WTF::equal" in their public headers?
> Source/WebKit/blackberry/Api/WebString.cpp:114
> + return WTF::equalIgnoringCase(m_impl, utf8);
Ditto.
--
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