From ce25e6a7f9c68074754a69c0c9d2eee3b39e75c3 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Wed, 24 Feb 2016 05:21:15 +0200 Subject: [PATCH] khtml: get rid of "FastMalloc" Signed-off-by: Ivailo Monev --- khtml/ecma/kjs_binding.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/khtml/ecma/kjs_binding.cpp b/khtml/ecma/kjs_binding.cpp index c82ca716..b5d3faf6 100644 --- a/khtml/ecma/kjs_binding.cpp +++ b/khtml/ecma/kjs_binding.cpp @@ -188,7 +188,7 @@ bool ScriptInterpreter::shouldInterruptScript() const UString::UString(const QString &d) { unsigned int len = d.length(); - UChar *dat = static_cast(fastMalloc(sizeof(UChar)*len)); + UChar *dat = static_cast(malloc(sizeof(UChar)*len)); memcpy(dat, d.unicode(), len * sizeof(UChar)); m_rep = UString::Rep::create(dat, len); } @@ -204,7 +204,7 @@ UString::UString(const DOM::DOMString &d) } unsigned int len = d.length(); - UChar *dat = static_cast(fastMalloc(sizeof(UChar)*len)); + UChar *dat = static_cast(malloc(sizeof(UChar)*len)); memcpy(dat, d.unicode(), len * sizeof(UChar)); m_rep = UString::Rep::create(dat, len); }