[BlackBerry] Pass String::StrictConversion instead of true to String::utf8()
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Mar 2013 16:00:00 +0000 (16:00 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Mar 2013 16:00:00 +0000 (16:00 +0000)
https://bugs.webkit.org/show_bug.cgi?id=111546

Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-03-06
Reviewed by Rob Buis.

String::utf8() API changed in r134173.

* platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
(WebCore::MediaPlayerPrivate::notifyChallengeResult):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@144931 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp

index ea5d966..f0b5d70 100644 (file)
@@ -1,3 +1,15 @@
+2013-03-06  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        [BlackBerry] Pass String::StrictConversion instead of true to String::utf8()
+        https://bugs.webkit.org/show_bug.cgi?id=111546
+
+        Reviewed by Rob Buis.
+
+        String::utf8() API changed in r134173.
+
+        * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
+        (WebCore::MediaPlayerPrivate::notifyChallengeResult):
+
 2013-03-06  Julien Chaffraix  <jchaffraix@webkit.org>
 
         Remove the (dead) code for handling shorthands in StyleResolver / StyleBuilder
index ee62ece..7f6a078 100644 (file)
@@ -729,8 +729,8 @@ void MediaPlayerPrivate::notifyChallengeResult(const KURL& url, const Protection
     if (result != AuthenticationChallengeSuccess || !url.isValid())
         return;
 
-    m_platformPlayer->reloadWithCredential(credential.user().utf8(true).data(),
-        credential.password().utf8(true).data(),
+    m_platformPlayer->reloadWithCredential(credential.user().utf8(WTF::String::StrictConversion).data(),
+        credential.password().utf8(WTF::String::StrictConversion).data(),
         static_cast<MMRAuthChallenge::CredentialPersistence>(credential.persistence()));
 }