Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 | |
|
awong
2011/08/12 21:15:26
spurious newline.
Sergey Ulanov
2011/08/12 22:45:26
Done.
| |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 // 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 | 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. |
| 4 | 5 |
| 5 #include "remoting/host/plugin/host_plugin_utils.h" | 6 #include "remoting/host/plugin/host_plugin_utils.h" |
| 6 | 7 |
| 7 namespace remoting { | 8 namespace remoting { |
| 8 | 9 |
| 9 NPNetscapeFuncs* g_npnetscape_funcs = NULL; | 10 NPNetscapeFuncs* g_npnetscape_funcs = NULL; |
| 10 | 11 |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 34 return variant; | 35 return variant; |
| 35 } | 36 } |
| 36 | 37 |
| 37 NPObject* ObjectFromNPVariant(const NPVariant& variant) { | 38 NPObject* ObjectFromNPVariant(const NPVariant& variant) { |
| 38 if (!NPVARIANT_IS_OBJECT(variant)) | 39 if (!NPVARIANT_IS_OBJECT(variant)) |
| 39 return NULL; | 40 return NULL; |
| 40 return NPVARIANT_TO_OBJECT(variant); | 41 return NPVARIANT_TO_OBJECT(variant); |
| 41 } | 42 } |
| 42 | 43 |
| 43 } // namespace remoting | 44 } // namespace remoting |
| OLD | NEW |