Index: runtime/vm/snapshot.cc |
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc |
index e966889e75ae6de77a7895c23de256bf75d4a54f..87f5bc6f76d3bf6f6be93258ec4758a05ab438d2 100644 |
--- a/runtime/vm/snapshot.cc |
+++ b/runtime/vm/snapshot.cc |
@@ -67,7 +67,7 @@ static RawType* GetType(ObjectStore* object_store, int index) { |
case kDoubleType: return object_store->double_type(); |
case kIntType: return object_store->int_type(); |
case kBoolType: return object_store->bool_type(); |
- case kStringInterface: return object_store->string_interface(); |
+ case kStringType: return object_store->string_type(); |
case kListInterface: return object_store->list_interface(); |
default: break; |
} |
@@ -100,8 +100,8 @@ static int GetTypeIndex(ObjectStore* object_store, const RawType* raw_type) { |
return kIntType; |
} else if (raw_type == object_store->bool_type()) { |
return kBoolType; |
- } else if (raw_type == object_store->string_interface()) { |
- return kStringInterface; |
+ } else if (raw_type == object_store->string_type()) { |
+ return kStringType; |
} else if (raw_type == object_store->list_interface()) { |
return kListInterface; |
} |