From 700b2689e4b981b9d75273497aeeea9a3d325c25 Mon Sep 17 00:00:00 2001 From: "piman@chromium.org" Date: Tue, 15 Dec 2009 20:26:47 +0000 Subject: 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 --- chrome/plugin/webplugin_delegate_stub.cc | 2 ++ 1 file changed, 2 insertions(+) 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 } -- cgit v1.1