Build fix.

Change-Id: I15c2fa71990ccea72b7a2e35dac3e6b4e0f0917c
diff --git a/src/oat_writer.cc b/src/oat_writer.cc
index a8a8295..e586f98 100644
--- a/src/oat_writer.cc
+++ b/src/oat_writer.cc
@@ -309,7 +309,7 @@
       oat_header_->UpdateChecksum(&vmap_table[0], vmap_table_size);
     }
 
-    const std::vector<uint8_t>& gc_map = compiled_method->GetNativeGcMap();
+    const std::vector<uint8_t>& gc_map = compiled_method->GetGcMap();
     size_t gc_map_size = gc_map.size() * sizeof(gc_map[0]);
     gc_map_offset = (gc_map_size == 0) ? 0 : offset;
 
@@ -629,7 +629,7 @@
     }
     DCHECK_OFFSET();
 
-    const std::vector<uint8_t>& gc_map = compiled_method->GetNativeGcMap();
+    const std::vector<uint8_t>& gc_map = compiled_method->GetGcMap();
     size_t gc_map_size = gc_map.size() * sizeof(gc_map[0]);
 
     // Deduplicate GC maps