diff --git a/widget/src/windows/nsWindow.cpp b/widget/src/windows/nsWindow.cpp index fbbfad3c75e3..9b32f177ad35 100644 --- a/widget/src/windows/nsWindow.cpp +++ b/widget/src/windows/nsWindow.cpp @@ -1196,6 +1196,7 @@ void* nsWindow::GetNativeData(PRUint32 aDataType) switch(aDataType) { case NS_NATIVE_WIDGET: case NS_NATIVE_WINDOW: + case NS_NATIVE_PLUGIN_PORT: return (void*)mWnd; case NS_NATIVE_GRAPHIC: // XXX: This is sleezy!! Remember to Release the DC after using it!