summaryrefslogtreecommitdiff
path: root/Source/WebKit2/WebProcess/WebPage/DecoderAdapter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/WebProcess/WebPage/DecoderAdapter.cpp')
-rw-r--r--Source/WebKit2/WebProcess/WebPage/DecoderAdapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit2/WebProcess/WebPage/DecoderAdapter.cpp b/Source/WebKit2/WebProcess/WebPage/DecoderAdapter.cpp
index 63417720c..4179c982c 100644
--- a/Source/WebKit2/WebProcess/WebPage/DecoderAdapter.cpp
+++ b/Source/WebKit2/WebProcess/WebPage/DecoderAdapter.cpp
@@ -45,7 +45,7 @@ DecoderAdapter::DecoderAdapter(const uint8_t* buffer, size_t bufferSize)
bool DecoderAdapter::decodeBytes(Vector<uint8_t>& bytes)
{
CoreIPC::DataReference dataReference;
- if (!m_decoder->decodeVariableLengthByteArray(dataReference))
+ if (!m_decoder->decode(dataReference))
return false;
bytes = dataReference.vector();