From 6ff130a27dd003c10ab8460bb199e99d14d73026 Mon Sep 17 00:00:00 2001 From: Josh Aas Date: Wed, 2 Feb 2011 13:05:55 -0800 Subject: [PATCH] Bug 630935: Support NPNVsupportsCarbonBool variable for OOPP on Mac OS X. r=benwa a=blocking2.0final+ --- dom/plugins/PluginInstanceChild.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dom/plugins/PluginInstanceChild.cpp b/dom/plugins/PluginInstanceChild.cpp index 381100be394..b6e15eb9ebe 100644 --- a/dom/plugins/PluginInstanceChild.cpp +++ b/dom/plugins/PluginInstanceChild.cpp @@ -414,6 +414,13 @@ PluginInstanceChild::NPN_GetValue(NPNVariable aVar, return NPERR_NO_ERROR; } +#ifndef NP_NO_CARBON + case NPNVsupportsCarbonBool: { + *((NPBool*)aValue) = false; + return NPERR_NO_ERROR; + } +#endif + case NPNVsupportsUpdatedCocoaTextInputBool: { *static_cast(aValue) = true; return NPERR_NO_ERROR;