summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,