| Index: content/renderer/pepper_plugin_delegate_impl.cc
|
| diff --git a/content/renderer/pepper_plugin_delegate_impl.cc b/content/renderer/pepper_plugin_delegate_impl.cc
|
| index 94bbaf0e4cce424d697c16076a095b7b1920c4a2..5137463edaeeab9f2845b33674c700b066d01151 100644
|
| --- a/content/renderer/pepper_plugin_delegate_impl.cc
|
| +++ b/content/renderer/pepper_plugin_delegate_impl.cc
|
| @@ -75,20 +75,11 @@
|
| #include "webkit/plugins/ppapi/resource_helper.h"
|
| #include "webkit/plugins/webplugininfo.h"
|
|
|
| +using ppapi::proxy::PlatformFileToInt;
|
| using WebKit::WebView;
|
|
|
| namespace {
|
|
|
| -int32_t PlatformFileToInt(base::PlatformFile handle) {
|
| -#if defined(OS_WIN)
|
| - return static_cast<int32_t>(reinterpret_cast<intptr_t>(handle));
|
| -#elif defined(OS_POSIX)
|
| - return handle;
|
| -#else
|
| - #error Not implemented.
|
| -#endif
|
| -}
|
| -
|
| base::SyncSocket::Handle DuplicateHandle(base::SyncSocket::Handle handle) {
|
| base::SyncSocket::Handle out_handle = base::kInvalidPlatformFileValue;
|
| #if defined(OS_WIN)
|
|
|