summaryrefslogtreecommitdiffstats
path: root/remoting/client
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 23:38:50 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 23:38:50 +0000
commita03712972e4aab08210846a2c8fcea159b9d766f (patch)
treef724c625b82a7ae9dd4708383392c2c2234d33a0 /remoting/client
parent0cbe5a1747e03734a5ac778d7efc62067d8bf87a (diff)
downloadchromium_src-a03712972e4aab08210846a2c8fcea159b9d766f.zip
chromium_src-a03712972e4aab08210846a2c8fcea159b9d766f.tar.gz
chromium_src-a03712972e4aab08210846a2c8fcea159b9d766f.tar.bz2
Quick fix for chromoting plugni to connect.
I missed replace a valid AsString() vall to DebugString(). TBR=ajwong@chromium.org BUG=None TEST=None Review URL: http://codereview.chromium.org/6588099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76462 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client')
-rw-r--r--remoting/client/plugin/chromoting_scriptable_object.cc2
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 f452690..c456a94 100644
--- a/remoting/client/plugin/chromoting_scriptable_object.cc
+++ b/remoting/client/plugin/chromoting_scriptable_object.cc
@@ -282,7 +282,7 @@ Var ChromotingScriptableObject::DoConnect(const std::vector<Var>& args,
*exception = Var("The username must be a string.");
return Var();
}
- config.username = args[0].DebugString();
+ config.username = args[0].AsString();
if (!args[1].is_string()) {
*exception = Var("The host_jid must be a string.");