Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(869)

Unified Diff: test/cctest/test-serialize.cc

Issue 536090: Fix test-serialize. (Closed)
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698