summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/webplugin_delegate_stub.cc
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-15 20:26:47 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-15 20:26:47 +0000
commit700b2689e4b981b9d75273497aeeea9a3d325c25 (patch)
treee16f6cf0b52c9474ea6d26dd4afdd733f9c2355d /chrome/plugin/webplugin_delegate_stub.cc
parentd294ef3a7f91afdc1e5f9f570da7b8ef4b5bd8b7 (diff)
downloadchromium_src-700b2689e4b981b9d75273497aeeea9a3d325c25.zip
chromium_src-700b2689e4b981b9d75273497aeeea9a3d325c25.tar.gz
chromium_src-700b2689e4b981b9d75273497aeeea9a3d325c25.tar.bz2
Fix uninitialized variable if ENABLE_GPU is not set
Review URL: http://codereview.chromium.org/500013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34596 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/webplugin_delegate_stub.cc')
-rw-r--r--chrome/plugin/webplugin_delegate_stub.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc
index c6bd74f..b2b4b33 100644
--- a/chrome/plugin/webplugin_delegate_stub.cc
+++ b/chrome/plugin/webplugin_delegate_stub.cc
@@ -367,6 +367,8 @@ void WebPluginDelegateStub::OnCreateCommandBuffer(int* route_id) {
delegate_->windowed_handle()));
*route_id = command_buffer_stub_->route_id();
+#else
+ *route_id = 0;
#endif
}