Chromium Code Reviews| Index: remoting/host/plugin/host_plugin_utils.h |
| diff --git a/remoting/host/plugin/host_plugin_utils.h b/remoting/host/plugin/host_plugin_utils.h |
| index b53e104a3e65591d4f1bc230c8b8309fb4b1ec94..b1e4c73c91bab5a85607120c146235bd36ef4959 100644 |
| --- a/remoting/host/plugin/host_plugin_utils.h |
| +++ b/remoting/host/plugin/host_plugin_utils.h |
| @@ -35,6 +35,7 @@ NPObject* ObjectFromNPVariant(const NPVariant& variant); |
| class ScopedRefNPObject { |
| public: |
| ScopedRefNPObject(); |
| + explicit ScopedRefNPObject(NPObject* object); |
|
Sergey Ulanov
2011/08/30 02:30:16
Do we still need this constructor?
|
| ~ScopedRefNPObject(); |
| // Release the held reference and replace it with |object|, incrementing |