Index: runtime/vm/heap_test.cc |
diff --git a/runtime/vm/heap_test.cc b/runtime/vm/heap_test.cc |
index c76297d6d2b99a97e36fc7d88a49e701513580a6..bc914a43d7adeea4e445cfd704a1b25c8b9f31d8 100644 |
--- a/runtime/vm/heap_test.cc |
+++ b/runtime/vm/heap_test.cc |
@@ -284,9 +284,9 @@ TEST_CASE(IterateReadOnly) { |
const String& obj = String::Handle(String::New("x", Heap::kOld)); |
Heap* heap = Thread::Current()->isolate()->heap(); |
EXPECT(heap->Contains(RawObject::ToAddr(obj.raw()))); |
- heap->WriteProtect(true, true /* include_code_pages */); |
+ heap->WriteProtect(true); |
EXPECT(heap->Contains(RawObject::ToAddr(obj.raw()))); |
- heap->WriteProtect(false, true /* include_code_pages */); |
+ heap->WriteProtect(false); |
EXPECT(heap->Contains(RawObject::ToAddr(obj.raw()))); |
} |