From 6bd91debb17f5790401f3a28da1d71bc0d1a83ce Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Tue, 6 Sep 2011 20:52:50 +0000 Subject: Get the rest of the chrome target to build (but not link) with USE_AURA. http://crbug.com/93947 TEST=none Review URL: http://codereview.chromium.org/7839002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99810 0039d316-1c4b-4281-b951-d872f2087c98 --- content/plugin/webplugin_delegate_stub.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'content/plugin') diff --git a/content/plugin/webplugin_delegate_stub.cc b/content/plugin/webplugin_delegate_stub.cc index 824cd47..9a6fdbc 100644 --- a/content/plugin/webplugin_delegate_stub.cc +++ b/content/plugin/webplugin_delegate_stub.cc @@ -162,7 +162,9 @@ void WebPluginDelegateStub::OnInit(const PluginMsg_Init_Params& params, command_line.GetSwitchValuePath(switches::kPluginPath); gfx::PluginWindowHandle parent = gfx::kNullPluginWindow; -#if defined(OS_WIN) +#if defined(USE_AURA) + // Nothing. +#elif defined(OS_WIN) parent = gfx::NativeViewFromId(params.containing_window); #elif defined(OS_LINUX) // This code is disabled, See issue 17110. -- cgit v1.1