summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/plugins/android
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-08-03 11:06:56 -0400
committerDerek Sollenberger <djsollen@google.com>2011-08-03 14:00:17 -0400
commit2c05b037dcbc9de2f41781747422c2098c42c16e (patch)
treec7dc65608bd8e57fa550413cc04211c670dbbfa8 /Source/WebCore/plugins/android
parent03137dd16df459ef3bee925373347982cb98124d (diff)
downloadexternal_webkit-2c05b037dcbc9de2f41781747422c2098c42c16e.zip
external_webkit-2c05b037dcbc9de2f41781747422c2098c42c16e.tar.gz
external_webkit-2c05b037dcbc9de2f41781747422c2098c42c16e.tar.bz2
Replace plugin's OpenGL API with a NativeWindow API.
bug: 5114637 Change-Id: Idfadf95b9b65bf87ad2edf76fd2c5fc0513a75c3
Diffstat (limited to 'Source/WebCore/plugins/android')
-rw-r--r--Source/WebCore/plugins/android/PluginViewAndroid.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/plugins/android/PluginViewAndroid.cpp b/Source/WebCore/plugins/android/PluginViewAndroid.cpp
index 78d0217..8ac6486 100644
--- a/Source/WebCore/plugins/android/PluginViewAndroid.cpp
+++ b/Source/WebCore/plugins/android/PluginViewAndroid.cpp
@@ -83,7 +83,7 @@
#include "PluginWidgetAndroid.h"
#include "android_npapi.h"
-#include "ANPOpenGL_npapi.h"
+#include "ANPNativeWindow_npapi.h"
#include "ANPSurface_npapi.h"
#include "ANPSystem_npapi.h"
#include "ANPVideo_npapi.h"
@@ -110,7 +110,7 @@ extern void ANPWindowInterfaceV2_Init(ANPInterface* value);
extern void ANPSystemInterfaceV0_Init(ANPInterface* value);
extern void ANPSystemInterfaceV1_Init(ANPInterface* value);
extern void ANPSystemInterfaceV2_Init(ANPInterface* value);
-extern void ANPOpenGLInterfaceV0_Init(ANPInterface* value);
+extern void ANPNativeWindowInterfaceV0_Init(ANPInterface* value);
extern void ANPVideoInterfaceV0_Init(ANPInterface* value);
struct VarProcPair {
@@ -140,7 +140,7 @@ static const VarProcPair gVarProcs[] = {
{ VARPROCLINE(SystemInterfaceV0) },
{ VARPROCLINE(SystemInterfaceV1) },
{ VARPROCLINE(SystemInterfaceV2) },
- { VARPROCLINE(OpenGLInterfaceV0) },
+ { VARPROCLINE(NativeWindowInterfaceV0) },
{ VARPROCLINE(VideoInterfaceV0) },
};