-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. QObject::objectName() returns a QString and QtField::name() creates a temporary QByteArray object and returns constData() from it. This is not safe. This patch changes the signature of the function to return a QByteArray instead of const char *. https://bugs.webkit.org/show_bug.cgi?id=39010 * bridge/qt/qt_instance.cpp: (JSC::Bindings::QtInstance::getPropertyNames): (JSC::Bindings::QtField::name): * bridge/qt/qt_runtime.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
0cd82911