Index: runtime/vm/snapshot_test.cc |
=================================================================== |
--- runtime/vm/snapshot_test.cc (revision 265) |
+++ runtime/vm/snapshot_test.cc (working copy) |
@@ -50,7 +50,7 @@ |
writer.FinalizeBuffer(); |
// Create a snapshot object using the buffer. |
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
// Read object back from the snapshot. |
Isolate* isolate= Isolate::Current(); |
@@ -69,7 +69,7 @@ |
writer.FinalizeBuffer(); |
// Create a snapshot object using the buffer. |
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
// Read object back from the snapshot. |
Isolate* isolate= Isolate::Current(); |
@@ -88,7 +88,7 @@ |
writer.FinalizeBuffer(); |
// Create a snapshot object using the buffer. |
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
// Read object back from the snapshot. |
Isolate* isolate= Isolate::Current(); |
@@ -107,7 +107,7 @@ |
writer.FinalizeBuffer(); |
// Create a snapshot object using the buffer. |
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
// Read object back from the snapshot. |
Isolate* isolate= Isolate::Current(); |
@@ -128,7 +128,7 @@ |
writer.FinalizeBuffer(); |
// Create a snapshot object using the buffer. |
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
// Read object back from the snapshot. |
Isolate* isolate= Isolate::Current(); |
@@ -147,7 +147,7 @@ |
writer.FinalizeBuffer(); |
// Create a snapshot object using the buffer. |
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
// Read object back from the snapshot. |
Isolate* isolate= Isolate::Current(); |
@@ -186,7 +186,7 @@ |
writer.FinalizeBuffer(); |
// Create a snapshot object using the buffer. |
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
// Read object back from the snapshot. |
Isolate* isolate= Isolate::Current(); |
@@ -223,7 +223,7 @@ |
writer.FinalizeBuffer(); |
// Create a snapshot object using the buffer. |
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
// Read object back from the snapshot. |
Isolate* isolate= Isolate::Current(); |
@@ -249,7 +249,7 @@ |
writer.FinalizeBuffer(); |
// Create a snapshot object using the buffer. |
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
// Read object back from the snapshot. |
Isolate* isolate= Isolate::Current(); |
@@ -282,7 +282,7 @@ |
writer.FinalizeBuffer(); |
// Create a snapshot object using the buffer. |
- Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
+ const Snapshot* snapshot = Snapshot::SetupFromBuffer(buffer); |
// Read object back from the snapshot. |
Isolate* isolate= Isolate::Current(); |