summaryrefslogtreecommitdiff
path: root/Source/WebKit/qt/WidgetApi/qwebview.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-11-01 22:32:05 -0700
committerThiago Macieira <thiago.macieira@intel.com>2016-11-24 01:20:49 +0000
commited84b8b4ff88c5affaa89edb72e6aaf481f3ccc1 (patch)
tree845ada9b1f381aa8d9b6d5f63234360acecc718b /Source/WebKit/qt/WidgetApi/qwebview.h
parentd542341492a0c18058b3f03008ea8916d84ccef3 (diff)
downloadqtwebkit-ed84b8b4ff88c5affaa89edb72e6aaf481f3ccc1.tar.gz
Fix QDataStreamCoder encoding and decoding of binary data
This code was all wrong. The dereferencing of the pointer was missing, so QDataStreamCoder::encodeBytes was encoding pointers (cast to something, though unclear what), while the decoder was decoding them one byte at a time This clearly has never worked. So just use writeRawData and readRawData. Change-Id: Ic46ff326a6ba46bc877cfffd1483240963ec5ee0 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'Source/WebKit/qt/WidgetApi/qwebview.h')
0 files changed, 0 insertions, 0 deletions