diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-11-20 10:33:36 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-11-22 11:45:12 +0000 |
commit | be59a35641616a4cf23c4a13fa0632624b021c1b (patch) | |
tree | 9da183258bdf9cc413f7562079d25ace6955467f /chromium/v8/src/snapshot/snapshot-source-sink.h | |
parent | d702e4b6a64574e97fc7df8fe3238cde70242080 (diff) | |
download | qtwebengine-chromium-be59a35641616a4cf23c4a13fa0632624b021c1b.tar.gz |
BASELINE: Update Chromium to 62.0.3202.101
Change-Id: I2d5eca8117600df6d331f6166ab24d943d9814ac
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/v8/src/snapshot/snapshot-source-sink.h')
-rw-r--r-- | chromium/v8/src/snapshot/snapshot-source-sink.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/v8/src/snapshot/snapshot-source-sink.h b/chromium/v8/src/snapshot/snapshot-source-sink.h index 4922ebc74b8..399340ef408 100644 --- a/chromium/v8/src/snapshot/snapshot-source-sink.h +++ b/chromium/v8/src/snapshot/snapshot-source-sink.h @@ -86,7 +86,7 @@ class SnapshotByteSink { ~SnapshotByteSink() {} - void Put(byte b, const char* description) { data_.Add(b); } + void Put(byte b, const char* description) { data_.push_back(b); } void PutSection(int b, const char* description) { DCHECK_LE(b, kMaxUInt8); @@ -95,12 +95,12 @@ class SnapshotByteSink { void PutInt(uintptr_t integer, const char* description); void PutRaw(const byte* data, int number_of_bytes, const char* description); - int Position() { return data_.length(); } + int Position() { return static_cast<int>(data_.size()); } - const List<byte>* data() const { return &data_; } + const std::vector<byte>* data() const { return &data_; } private: - List<byte> data_; + std::vector<byte> data_; }; } // namespace internal |