From 33fb126a57fd731af41ada106b21b9d151714e3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20Gro=C3=9F?= Date: Thu, 19 Aug 2021 10:08:30 +0200 Subject: [PATCH] Fix missing namespace for GetVirtualMemoryCageDataPageAllocator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: chromium:1218005 Change-Id: I533e9fccc48767f4fccc8746e182682abd36c5e5 Cq-Include-Trybots: luci.v8.try:v8_linux64_heap_sandbox_dbg_ng Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3106387 Reviewed-by: Igor Sheludko Commit-Queue: Samuel Groß Cr-Commit-Position: refs/heads/main@{#76380} --- src/api/api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/api.cc b/src/api/api.cc index a67ae04e73..3572f6c659 100644 --- a/src/api/api.cc +++ b/src/api/api.cc @@ -6050,7 +6050,7 @@ void v8::V8::InitializeExternalStartupDataFromFile(const char* snapshot_blob) { const char* v8::V8::GetVersion() { return i::Version::GetVersion(); } #ifdef V8_VIRTUAL_MEMORY_CAGE -PageAllocator* GetVirtualMemoryCageDataPageAllocator() { +PageAllocator* v8::V8::GetVirtualMemoryCageDataPageAllocator() { CHECK(i::GetProcessWideVirtualMemoryCage()->is_initialized()); return i::GetProcessWideVirtualMemoryCage()->GetDataCagePageAllocator(); }