Index: third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp |
index acbe2a244879797df909a25a5dc973760a48d5cf..a170b02ffb13016b9c21b55208d683e2a0101da1 100644 |
--- a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp |
+++ b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp |
@@ -73,10 +73,6 @@ namespace blink { |
namespace { |
-int FrameId(LocalFrame& frame) { |
- return WeakIdentifierMap<LocalFrame>::Identifier(&frame); |
-} |
- |
Mutex& CreationMutex() { |
DEFINE_THREAD_SAFE_STATIC_LOCAL(Mutex, mutex, ()); |
return mutex; |
@@ -214,7 +210,7 @@ void MainThreadDebugger::ExceptionThrown(ExecutionContext* context, |
int MainThreadDebugger::ContextGroupId(LocalFrame* frame) { |
LocalFrame& local_frame_root = frame->LocalFrameRoot(); |
- return FrameId(local_frame_root); |
+ return WeakIdentifierMap<LocalFrame>::Identifier(&local_frame_root); |
} |
MainThreadDebugger* MainThreadDebugger::Instance() { |