Add version to public structs

BUG: 16824451

Change-Id: I0bf1c06e120a48bf2f5c07e00ca0583ea1c891bb
(cherry picked from commit df44c7670d1fa36fffb614ce04bf16ba25ef65d0)
diff --git a/chromium/plat_support/draw_gl_functor.cpp b/chromium/plat_support/draw_gl_functor.cpp
index 8f82ef9..03b6385 100644
--- a/chromium/plat_support/draw_gl_functor.cpp
+++ b/chromium/plat_support/draw_gl_functor.cpp
@@ -52,6 +52,7 @@
     }
 
     AwDrawGLInfo aw_info;
+    aw_info.version = kAwDrawGLInfoVersion;
     switch (what) {
       case DrawGlInfo::kModeDraw: {
         aw_info.mode = AwDrawGLInfo::kModeDraw;
diff --git a/chromium/plat_support/graphics_utils.cpp b/chromium/plat_support/graphics_utils.cpp
index 866f0fe..320e419 100644
--- a/chromium/plat_support/graphics_utils.cpp
+++ b/chromium/plat_support/graphics_utils.cpp
@@ -83,6 +83,7 @@
 
 jlong GetDrawSWFunctionTable(JNIEnv* env, jclass) {
   static AwDrawSWFunctionTable function_table;
+  function_table.version = kAwDrawSWFunctionTableVersion;
   function_table.access_pixels = &GetPixels;
   function_table.release_pixels = &ReleasePixels;
   return reinterpret_cast<intptr_t>(&function_table);
@@ -90,6 +91,7 @@
 
 jlong GetDrawGLFunctionTable(JNIEnv* env, jclass) {
   static AwDrawGLFunctionTable function_table;
+  function_table.version = kAwDrawGLFunctionTableVersion;
   function_table.create_graphic_buffer = &GraphicBufferImpl::Create;
   function_table.release_graphic_buffer = &GraphicBufferImpl::Release;
   function_table.map = &GraphicBufferImpl::MapStatic;