summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/webplugin_delegate_pepper.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-09 00:11:53 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-09 00:11:53 +0000
commit0ef51cc6d25951d6dbaf4d8036d00b3316059ce9 (patch)
tree15e2a1f923898648213e8f10de74ca16faf0e0a3 /chrome/renderer/webplugin_delegate_pepper.cc
parentd4f926209752906dfb7ad89790ed89117dd681a9 (diff)
downloadchromium_src-0ef51cc6d25951d6dbaf4d8036d00b3316059ce9.zip
chromium_src-0ef51cc6d25951d6dbaf4d8036d00b3316059ce9.tar.gz
chromium_src-0ef51cc6d25951d6dbaf4d8036d00b3316059ce9.tar.bz2
fix posix build errors
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40971 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/webplugin_delegate_pepper.cc')
-rw-r--r--chrome/renderer/webplugin_delegate_pepper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/webplugin_delegate_pepper.cc b/chrome/renderer/webplugin_delegate_pepper.cc
index 086699d..b1d090c 100644
--- a/chrome/renderer/webplugin_delegate_pepper.cc
+++ b/chrome/renderer/webplugin_delegate_pepper.cc
@@ -466,7 +466,7 @@ NPError WebPluginDelegatePepper::Device2DThemePaint(NPDeviceContext2D* context,
if (!ctx)
return NPERR_INVALID_PARAM;
- NPError rv;
+ NPError rv = NPERR_GENERIC_ERROR;
gfx::Rect rect(params->location.left,
params->location.top,
params->location.right - params->location.left,