Commit e67c1c08 authored by Wez's avatar Wez Committed by Commit Bot

Fix VirtualMemory for Fuchsia to pass |hints| to ReserveRegion.

TBR: machenbach, hablich, kozyatinskiy

Change-Id: Id5cbcc1260b69a68dded46651471bd1cfa57d3a3
Reviewed-on: https://chromium-review.googlesource.com/571114Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46685}
parent 65bd1a30
......@@ -38,7 +38,7 @@ void OS::SignalCodeMovingGC() {
VirtualMemory::VirtualMemory() : address_(NULL), size_(0) {}
VirtualMemory::VirtualMemory(size_t size, void* hint)
: address_(ReserveRegion(size)), size_(size) {
: address_(ReserveRegion(size, hint)), size_(size) {
CHECK(false); // TODO(fuchsia): Port, https://crbug.com/731217.
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment