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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThread.cpp

Issue 2688383003: Remove unnecessary SafePointScope (Closed)
Patch Set: temp Created 3 years, 10 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 | « no previous file | third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/workers/WorkerThread.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.cpp b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
index 43970ce0cf1bf9b479f276cd78d41a30f9ce2ec8..cd487257bd6692e0db6244b48959d0e3532bae12 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
@@ -225,11 +225,8 @@ void WorkerThread::startRunningDebuggerTasksOnPauseOnWorkerThread() {
ThreadDebugger::idleStarted(isolate());
std::unique_ptr<CrossThreadClosure> task;
do {
- {
- SafePointScope safePointScope(BlinkGC::HeapPointersOnStack);
- task =
- m_inspectorTaskRunner->takeNextTask(InspectorTaskRunner::WaitForTask);
- }
+ task =
+ m_inspectorTaskRunner->takeNextTask(InspectorTaskRunner::WaitForTask);
if (task)
(*task)();
// Keep waiting until execution is resumed.
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698