summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/generated/JSHTMLButtonElement.cpp
diff options
context:
space:
mode:
authorRitt Konstantin <ritt.ks@gmail.com>2011-06-09 15:34:13 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2011-06-09 15:34:13 (GMT)
commitbf540659718c78706622a6cf168387998dd725fd (patch)
treec729326fca23a8fb5856c494a3d2c6a5f46f29bb /src/3rdparty/webkit/WebCore/generated/JSHTMLButtonElement.cpp
parent597e21952e7fc2a18f09dda4619c23c30ea2dde6 (diff)
downloadQt-bf540659718c78706622a6cf168387998dd725fd.zip
Qt-bf540659718c78706622a6cf168387998dd725fd.tar.gz
Qt-bf540659718c78706622a6cf168387998dd725fd.tar.bz2
get rid of extra copying
by some (unknown) reason, the QVarLengthArray was used as an intermediate buffer for the UniChar data that was copied again few lines later via the QString's c-tor; add check for (length == 0) as it equals to the old (!chars) test but avoids an unnecessary fallback code execution Merge-request: 2615 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSHTMLButtonElement.cpp')
0 files changed, 0 insertions, 0 deletions