diff options
Diffstat (limited to 'remoting/client/plugin/chromoting_scriptable_object.cc')
-rw-r--r-- | remoting/client/plugin/chromoting_scriptable_object.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/client/plugin/chromoting_scriptable_object.cc b/remoting/client/plugin/chromoting_scriptable_object.cc index a6dbf0e..7e2de5e 100644 --- a/remoting/client/plugin/chromoting_scriptable_object.cc +++ b/remoting/client/plugin/chromoting_scriptable_object.cc @@ -301,7 +301,7 @@ void ChromotingScriptableObject::SendIq(const std::string& message_xml) { } void ChromotingScriptableObject::AddAttribute(const std::string& name, - Var attribute) { + const Var& attribute) { property_names_[name] = properties_.size(); properties_.push_back(PropertyDescriptor(name, attribute)); } |