Simplify KURL's checkEncodedString()
authorbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Dec 2011 13:04:45 +0000 (13:04 +0000)
committerbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Dec 2011 13:04:45 +0000 (13:04 +0000)
commitf7ca82a5dc763c770d6a30c072d543bb49e9071b
treeada3e7e7fa8714980fb107133ca1e50a38e619e5
parent1996b2bb8dd0ac319077841c7a843354cb154518
Simplify KURL's checkEncodedString()
https://bugs.webkit.org/show_bug.cgi?id=73890

Reviewed by Andreas Kling.

The method was reimplementing String::containsOnlyASCII().
Use the method from String and we can remove the #if NDEBUG.

* platform/KURL.cpp:
(WebCore::checkEncodedString):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102123 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/KURL.cpp