| OLD | NEW |
| 1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "native_client/src/shared/ppapi_proxy/plugin_resource_tracker.h" | 5 #include "native_client/src/shared/ppapi_proxy/plugin_resource_tracker.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "native_client/src/include/nacl_macros.h" | 10 #include "native_client/src/include/nacl_macros.h" |
| 11 #include "native_client/src/include/portability.h" | 11 #include "native_client/src/include/portability.h" |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 // Release all browser references. | 92 // Release all browser references. |
| 93 if (res && (browser_refcount > 0)) { | 93 if (res && (browser_refcount > 0)) { |
| 94 NaClSrpcChannel* channel = ppapi_proxy::GetMainSrpcChannel(); | 94 NaClSrpcChannel* channel = ppapi_proxy::GetMainSrpcChannel(); |
| 95 PpbCoreRpcClient::ReleaseResourceMultipleTimes(channel, res, | 95 PpbCoreRpcClient::ReleaseResourceMultipleTimes(channel, res, |
| 96 browser_refcount); | 96 browser_refcount); |
| 97 } | 97 } |
| 98 } | 98 } |
| 99 | 99 |
| 100 } // namespace ppapi_proxy | 100 } // namespace ppapi_proxy |
| 101 | 101 |
| OLD | NEW |