| Index: runtime/vm/handles.cc
|
| diff --git a/runtime/vm/handles.cc b/runtime/vm/handles.cc
|
| index c0535423cc27528ff9a15a1fbc351812bd6aec4e..7057739a92d97da76b3000974078179f7e4a1ec0 100644
|
| --- a/runtime/vm/handles.cc
|
| +++ b/runtime/vm/handles.cc
|
| @@ -109,11 +109,6 @@ HandleScope::HandleScope(Thread* thread) : StackResource(thread) {
|
| }
|
|
|
|
|
| -HandleScope::HandleScope(Isolate* isolate) : StackResource(isolate) {
|
| - Initialize();
|
| -}
|
| -
|
| -
|
| HandleScope::~HandleScope() {
|
| ASSERT(thread()->zone() != NULL);
|
| VMHandles* handles = thread()->zone()->handles();
|
| @@ -130,13 +125,8 @@ HandleScope::~HandleScope() {
|
|
|
|
|
| #if defined(DEBUG)
|
| -NoHandleScope::NoHandleScope(Isolate* isolate) : StackResource(isolate) {
|
| - thread()->IncrementNoHandleScopeDepth();
|
| -}
|
| -
|
| -
|
| -NoHandleScope::NoHandleScope() : StackResource(Thread::Current()) {
|
| - thread()->IncrementNoHandleScopeDepth();
|
| +NoHandleScope::NoHandleScope(Thread* thread) : StackResource(thread) {
|
| + thread->IncrementNoHandleScopeDepth();
|
| }
|
|
|
|
|
|
|