summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--WebCore/plugins/android/PluginViewAndroid.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/plugins/android/PluginViewAndroid.cpp b/WebCore/plugins/android/PluginViewAndroid.cpp
index 682268a..8b606e8 100644
--- a/WebCore/plugins/android/PluginViewAndroid.cpp
+++ b/WebCore/plugins/android/PluginViewAndroid.cpp
@@ -375,12 +375,15 @@ NPError PluginView::getValueStatic(NPNVariable variable, void* value)
*retValue = !networkStateNotifier().onLine();
return NPERR_NO_ERROR;
}
+ break;
}
case kJavaContext_ANPGetValue: {
jobject* retObject = static_cast<jobject*>(value);
*retObject = android::WebViewCore::getApplicationContext();
return NPERR_NO_ERROR;
}
+ default:
+ ; // do nothing
}
(void)anp_getInterface(variable, value, &error);