Index: test/cctest/test-serialize.cc |
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc |
index 0e57f30cee17ab789c20217e6f2ca6523467bb94..6d07426607e3a4cc043a5e019ed206f53ddfb373 100644 |
--- a/test/cctest/test-serialize.cc |
+++ b/test/cctest/test-serialize.cc |
@@ -293,6 +293,9 @@ class FileByteSink : public SnapshotByteSink { |
fputc(byte, fp_); |
} |
} |
+ virtual int Position() { |
+ return ftell(fp_); |
+ } |
void WriteSpaceUsed( |
int new_space_used, |
int pointer_space_used, |