Index: third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
index 6498f77caf1bd7e96f623548d7b8807eed6e9149..3c6caafe4078b439c63b7f48214da2e88b062afe 100644 |
--- a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
+++ b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
@@ -80,10 +80,7 @@ bool ThreadDebugger::formatAccessorsAsProperties(v8::Local<v8::Value> value) |
bool ThreadDebugger::hasRecursionLevel() |
{ |
- int recursionLevel = V8RecursionScope::recursionLevel(m_isolate); |
- if (!recursionLevel) |
- return false; |
- return recursionLevel > 1 || !Microtask::performingCheckpoint(m_isolate); |
+ return !!V8RecursionScope::recursionLevel(m_isolate); |
} |
} // namespace blink |