Index: content/plugin/webplugin_delegate_stub.cc |
=================================================================== |
--- content/plugin/webplugin_delegate_stub.cc (revision 156019) |
+++ content/plugin/webplugin_delegate_stub.cc (working copy) |
@@ -163,7 +163,12 @@ |
gfx::PluginWindowHandle parent = gfx::kNullPluginWindow; |
#if defined(USE_AURA) |
+#if defined(OS_WIN) |
+ // Copy of gfx::NativeViewFromId that's defined without Aura. |
+ parent = reinterpret_cast<HWND>(params.containing_window); |
+#else |
// Nothing. |
+#endif |
#elif defined(OS_WIN) |
parent = gfx::NativeViewFromId(params.containing_window); |
#elif defined(OS_LINUX) |