summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/plugin_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/plugin_host.cc')
-rw-r--r--webkit/glue/plugins/plugin_host.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/plugins/plugin_host.cc b/webkit/glue/plugins/plugin_host.cc
index 599816f..256716f 100644
--- a/webkit/glue/plugins/plugin_host.cc
+++ b/webkit/glue/plugins/plugin_host.cc
@@ -955,8 +955,8 @@ NPError NPN_SetValue(NPP id, NPPVariable variable, void *value) {
// we support Carbon and Cocoa event models
int model = reinterpret_cast<int>(value);
switch (model) {
- case NPNVsupportsCarbonBool:
- case NPNVsupportsCocoaBool:
+ case NPEventModelCarbon:
+ case NPEventModelCocoa:
plugin->set_event_model(model);
return NPERR_NO_ERROR;
break;