| OLD | NEW |
| 1 /* | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 * Copyright 2011 (c) The Native Client Authors. All rights reserved. | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 // found in the LICENSE file. |
| 4 * found in the LICENSE file. | |
| 5 */ | |
| 6 | |
| 7 | 4 |
| 8 // Scriptable handle implementation. | 5 // Scriptable handle implementation. |
| 9 | 6 |
| 10 #include "native_client/src/trusted/plugin/scriptable_handle.h" | 7 #include "native_client/src/trusted/plugin/scriptable_handle.h" |
| 11 | 8 |
| 12 #include <stdio.h> | 9 #include <stdio.h> |
| 13 #include <string.h> | 10 #include <string.h> |
| 14 | 11 |
| 15 #include <assert.h> | 12 #include <assert.h> |
| 16 #include <set> | 13 #include <set> |
| (...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 // Neither the browser nor plugin ever var referenced this object, | 465 // Neither the browser nor plugin ever var referenced this object, |
| 469 // so it can safely discarded. | 466 // so it can safely discarded. |
| 470 PLUGIN_PRINTF(("ScriptableHandle::Unref (delete this)\n")); | 467 PLUGIN_PRINTF(("ScriptableHandle::Unref (delete this)\n")); |
| 471 CHECK(var_ == NULL); | 468 CHECK(var_ == NULL); |
| 472 delete this; | 469 delete this; |
| 473 } | 470 } |
| 474 } | 471 } |
| 475 | 472 |
| 476 | 473 |
| 477 } // namespace plugin | 474 } // namespace plugin |
| OLD | NEW |