| Index: content/browser/renderer_host/pepper_message_filter.cc
|
| diff --git a/content/browser/renderer_host/pepper_message_filter.cc b/content/browser/renderer_host/pepper_message_filter.cc
|
| index 4aa1c4728d707140bbcc3e8c6d4a46a4c3e0bc30..80fa5264adf662afa2fe9af04b60d4d822066dc7 100644
|
| --- a/content/browser/renderer_host/pepper_message_filter.cc
|
| +++ b/content/browser/renderer_host/pepper_message_filter.cc
|
| @@ -45,6 +45,8 @@
|
| #include "ppapi/proxy/ppapi_messages.h"
|
| #include "ppapi/proxy/ppb_tcp_socket_private_proxy.h"
|
| #include "ppapi/shared_impl/private/net_address_private_impl.h"
|
| +#include "ppapi/shared_impl/tcp_socket_impl.h"
|
| +#include "ppapi/shared_impl/udp_socket_impl.h"
|
| #include "webkit/plugins/ppapi/ppb_flash_net_connector_impl.h"
|
|
|
| #if defined(ENABLE_FLAPPER_HACKS)
|
| @@ -399,9 +401,9 @@ void PepperMessageFilter::TCPSocket::Read(int32 bytes_to_read) {
|
| return;
|
| }
|
|
|
| - if (bytes_to_read > ppapi::proxy::kTCPSocketMaxReadSize) {
|
| + if (bytes_to_read > ppapi::TCPSocketImpl::kMaxReadSize) {
|
| NOTREACHED();
|
| - bytes_to_read = ppapi::proxy::kTCPSocketMaxReadSize;
|
| + bytes_to_read = ppapi::TCPSocketImpl::kMaxReadSize;
|
| }
|
|
|
| read_buffer_ = new net::IOBuffer(bytes_to_read);
|
| @@ -419,9 +421,9 @@ void PepperMessageFilter::TCPSocket::Write(const std::string& data) {
|
| }
|
|
|
| int data_size = data.size();
|
| - if (data_size > ppapi::proxy::kTCPSocketMaxWriteSize) {
|
| + if (data_size > ppapi::TCPSocketImpl::kMaxWriteSize) {
|
| NOTREACHED();
|
| - data_size = ppapi::proxy::kTCPSocketMaxWriteSize;
|
| + data_size = ppapi::TCPSocketImpl::kMaxWriteSize;
|
| }
|
|
|
| write_buffer_ = new net::IOBuffer(data_size);
|
|
|