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

Unified Diff: third_party/WebKit/Source/web/WebHeap.cpp

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
« no previous file with comments | « third_party/WebKit/Source/platform/heap/blink_heap.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebHeap.cpp
diff --git a/third_party/WebKit/Source/web/WebHeap.cpp b/third_party/WebKit/Source/web/WebHeap.cpp
index 9556cd8dee04ac1a114d8e2f7e10bc40c63e41e0..257cef8e49e2ddaa744330613be778d6a1939d93 100644
--- a/third_party/WebKit/Source/web/WebHeap.cpp
+++ b/third_party/WebKit/Source/web/WebHeap.cpp
@@ -38,7 +38,7 @@ namespace blink {
WebHeap::SafePointScope::SafePointScope()
{
RELEASE_ASSERT(!ThreadState::current()->isAtSafePoint());
- ThreadState::current()->enterSafePoint(ThreadState::HeapPointersOnStack, this);
+ ThreadState::current()->enterSafePoint(BlinkGC::HeapPointersOnStack, this);
}
WebHeap::SafePointScope::~SafePointScope()
@@ -48,7 +48,7 @@ WebHeap::SafePointScope::~SafePointScope()
void WebHeap::collectGarbageForTesting()
{
- Heap::collectGarbage(ThreadState::HeapPointersOnStack, ThreadState::GCWithSweep, Heap::ForcedGC);
+ Heap::collectGarbage(BlinkGC::HeapPointersOnStack, BlinkGC::GCWithSweep, Heap::ForcedGC);
}
void WebHeap::collectAllGarbageForTesting()
« no previous file with comments | « third_party/WebKit/Source/platform/heap/blink_heap.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698