summaryrefslogtreecommitdiff
path: root/chromium/plat_support
diff options
context:
space:
mode:
authorKaan Baloglu <kaanb@google.com>2013-05-17 18:49:01 -0700
committerKaan Baloglu <kaanb@google.com>2013-05-20 11:41:02 -0700
commitfd26b08cf356142dbdd1ea2274b24988f013fe53 (patch)
treebd83d3b29ff9c81495834ad0a5270d557c16aede /chromium/plat_support
parent284fa4d183e7f9d2db180c1ffd76d894d2c94c2d (diff)
downloadwebview-fd26b08cf356142dbdd1ea2274b24988f013fe53.tar.gz
Make function pointers in DrawGLFunctionTable all NULL before we change the method types
Change-Id: Ie7bd4d792c38c198e425efe3b9812c4475802c58
Diffstat (limited to 'chromium/plat_support')
-rw-r--r--chromium/plat_support/graphics_utils.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/chromium/plat_support/graphics_utils.cpp b/chromium/plat_support/graphics_utils.cpp
index 1db4fc7..946c208 100644
--- a/chromium/plat_support/graphics_utils.cpp
+++ b/chromium/plat_support/graphics_utils.cpp
@@ -124,12 +124,12 @@ jint GetDrawSWFunctionTable(JNIEnv* env, jclass) {
jint GetDrawGLFunctionTable(JNIEnv* env, jclass) {
static const AwDrawGLFunctionTable function_table = {
- &GraphicBufferImpl::Create,
- &GraphicBufferImpl::Release,
- &GraphicBufferImpl::LockStatic,
- &GraphicBufferImpl::UnlockStatic,
- &GraphicBufferImpl::GetNativeBufferStatic,
- &GraphicBufferImpl::GetStrideStatic,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
};
return reinterpret_cast<jint>(&function_table);
}