Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(833)

Unified Diff: third_party/WebKit/Source/platform/heap/HeapPage.h

Issue 1402103004: Oilpan: Factor out GC-related enum definitions to BlinkGC.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/heap/HeapPage.h
diff --git a/third_party/WebKit/Source/platform/heap/HeapPage.h b/third_party/WebKit/Source/platform/heap/HeapPage.h
index 29ddbd30b920177c197d146af401b1168bee170d..e8473d42bec8a4cafb253b4aff776fabf5026a65 100644
--- a/third_party/WebKit/Source/platform/heap/HeapPage.h
+++ b/third_party/WebKit/Source/platform/heap/HeapPage.h
@@ -32,6 +32,7 @@
#define HeapPage_h
#include "platform/PlatformExport.h"
+#include "platform/heap/BlinkGC.h"
#include "platform/heap/GCInfo.h"
#include "platform/heap/ThreadState.h"
#include "platform/heap/Visitor.h"
@@ -395,7 +396,7 @@ public:
virtual void makeConsistentForMutator() = 0;
#if defined(ADDRESS_SANITIZER)
- virtual void poisonObjects(ThreadState::ObjectsToPoison, ThreadState::Poisoning) = 0;
+ virtual void poisonObjects(BlinkGC::ObjectsToPoison, BlinkGC::Poisoning) = 0;
#endif
// Check if the given address points to an object in this
// heap page. If so, find the start of that object and mark it
@@ -485,7 +486,7 @@ public:
void makeConsistentForGC() override;
void makeConsistentForMutator() override;
#if defined(ADDRESS_SANITIZER)
- void poisonObjects(ThreadState::ObjectsToPoison, ThreadState::Poisoning) override;
+ void poisonObjects(BlinkGC::ObjectsToPoison, BlinkGC::Poisoning) override;
#endif
void checkAndMarkPointer(Visitor*, Address) override;
void markOrphaned() override;
@@ -550,7 +551,7 @@ public:
void makeConsistentForGC() override;
void makeConsistentForMutator() override;
#if defined(ADDRESS_SANITIZER)
- void poisonObjects(ThreadState::ObjectsToPoison, ThreadState::Poisoning) override;
+ void poisonObjects(BlinkGC::ObjectsToPoison, BlinkGC::Poisoning) override;
#endif
void checkAndMarkPointer(Visitor*, Address) override;
void markOrphaned() override;
@@ -726,7 +727,7 @@ public:
void prepareHeapForTermination();
void prepareForSweep();
#if defined(ADDRESS_SANITIZER)
- void poisonHeap(ThreadState::ObjectsToPoison, ThreadState::Poisoning);
+ void poisonHeap(BlinkGC::ObjectsToPoison, BlinkGC::Poisoning);
#endif
Address lazySweep(size_t, size_t gcInfoIndex);
void sweepUnsweptPage();
« no previous file with comments | « third_party/WebKit/Source/platform/heap/HeapAllocator.h ('k') | third_party/WebKit/Source/platform/heap/HeapPage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698