| Index: src/isolate.h
|
| diff --git a/src/isolate.h b/src/isolate.h
|
| index 6a20c3e916633af6dca677d5cb22907da205ffa9..bc564979df98585660a30034c062e6b5ecdbbd46 100644
|
| --- a/src/isolate.h
|
| +++ b/src/isolate.h
|
| @@ -481,14 +481,9 @@ class Isolate {
|
| return isolate;
|
| }
|
|
|
| - INLINE(static Isolate* UncheckedCurrent()) {
|
| - DCHECK(base::NoBarrier_Load(&isolate_key_created_) == 1);
|
| - return reinterpret_cast<Isolate*>(
|
| - base::Thread::GetThreadLocal(isolate_key_));
|
| - }
|
| -
|
| - // Like UncheckedCurrent, but skips the check that |isolate_key_| was
|
| - // initialized. Callers have to ensure that themselves.
|
| + // Like Current, but skips the check that |isolate_key_| was initialized.
|
| + // Callers have to ensure that themselves.
|
| + // DO NOT USE. The only remaining callsite will be deleted soon.
|
| INLINE(static Isolate* UnsafeCurrent()) {
|
| return reinterpret_cast<Isolate*>(
|
| base::Thread::GetThreadLocal(isolate_key_));
|
|
|