зеркало из https://github.com/mozilla/gecko-dev.git
Fix Mac bustage for bug 889219 on a CLOSED TREE
This commit is contained in:
Родитель
65c01b02b9
Коммит
45d8483f79
|
@ -65,7 +65,7 @@ NS_IMETHODIMP nsDeviceContextSpecX::BeginDocument(const nsAString& aTitle,
|
|||
NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSRESULT;
|
||||
|
||||
if (!aTitle.IsEmpty()) {
|
||||
CFStringRef cfString = ::CFStringCreateWithCharacters(NULL, aTitle, aTitle.Length());
|
||||
CFStringRef cfString = ::CFStringCreateWithCharacters(NULL, aTitle.BeginReading(), aTitle.Length());
|
||||
if (cfString) {
|
||||
::PMPrintSettingsSetJobName(mPrintSettings, cfString);
|
||||
::CFRelease(cfString);
|
||||
|
|
Загрузка…
Ссылка в новой задаче