summaryrefslogtreecommitdiff
path: root/chromium/v8/src/snapshot/snapshot-source-sink.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/v8/src/snapshot/snapshot-source-sink.h')
-rw-r--r--chromium/v8/src/snapshot/snapshot-source-sink.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chromium/v8/src/snapshot/snapshot-source-sink.h b/chromium/v8/src/snapshot/snapshot-source-sink.h
index e0290c9415b..360ec76bb61 100644
--- a/chromium/v8/src/snapshot/snapshot-source-sink.h
+++ b/chromium/v8/src/snapshot/snapshot-source-sink.h
@@ -57,9 +57,8 @@ class SnapshotByteSource final {
return answer;
}
- bool GetBlob(const byte** data, int* number_of_bytes);
-
- bool AtEOF();
+ // Returns length.
+ int GetBlob(const byte** data);
int position() { return position_; }
@@ -101,7 +100,7 @@ class SnapshotByteSink {
List<byte> data_;
};
-} // namespace v8::internal
+} // namespace internal
} // namespace v8
#endif // V8_SNAPSHOT_SNAPSHOT_SOURCE_SINK_H_