| 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..59e6024acc603d70ae08a399bf0bb5d36272ce47 100644
|
| --- a/content/browser/renderer_host/pepper_message_filter.cc
|
| +++ b/content/browser/renderer_host/pepper_message_filter.cc
|
| @@ -22,7 +22,6 @@
|
| #include "base/values.h"
|
| #include "content/browser/font_list_async.h"
|
| #include "content/browser/resource_context.h"
|
| -#include "content/browser/renderer_host/render_process_host_impl.h"
|
| #include "content/common/pepper_messages.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "net/base/address_list.h"
|
| @@ -43,8 +42,8 @@
|
| #include "net/url_request/url_request_context.h"
|
| #include "ppapi/c/private/ppb_flash_net_connector.h"
|
| #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 "webkit/plugins/ppapi/ppb_flash_net_connector_impl.h"
|
|
|
| #if defined(ENABLE_FLAPPER_HACKS)
|
| @@ -399,9 +398,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 +418,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);
|
|
|