From 35da3a645a2959bd9cd44e37067ba13c4d6672d5 Mon Sep 17 00:00:00 2001 From: "commit-queue@webkit.org" Date: Wed, 6 Mar 2013 16:00:00 +0000 Subject: [PATCH] [BlackBerry] Pass String::StrictConversion instead of true to String::utf8() https://bugs.webkit.org/show_bug.cgi?id=111546 Patch by Carlos Garcia Campos 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 | 12 ++++++++++++ .../graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index ea5d966..f0b5d70 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,15 @@ +2013-03-06 Carlos Garcia Campos + + [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 Remove the (dead) code for handling shorthands in StyleResolver / StyleBuilder diff --git a/Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp b/Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp index ee62ece..7f6a078 100644 --- a/Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp +++ b/Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp @@ -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(credential.persistence())); } -- 1.8.3.1