From 0f32daacb5f39a54d93e33c209b0c408501d0194 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Sat, 31 Jul 2010 18:26:05 +0000 Subject: Fix the build. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54460 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/webplugin_delegate_pepper.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chrome/renderer/webplugin_delegate_pepper.cc') diff --git a/chrome/renderer/webplugin_delegate_pepper.cc b/chrome/renderer/webplugin_delegate_pepper.cc index 0fc4d82..dbfdb5c 100644 --- a/chrome/renderer/webplugin_delegate_pepper.cc +++ b/chrome/renderer/webplugin_delegate_pepper.cc @@ -610,7 +610,9 @@ NPError WebPluginDelegatePepper::Device2DGetStateContext( std::string hex_md5 = MD5DigestToBase16(md5_result); // Return the least significant 8 characters (i.e. 4 bytes) // of the 32 character hexadecimal result as an int. - base::HexStringToInt(hex_md5.substr(24), value); + int int_val; + base::HexStringToInt(hex_md5.substr(24), &int_val); + *value = int_val; return NPERR_NO_ERROR; } return NPERR_GENERIC_ERROR; -- cgit v1.1