| Index: Source/core/inspector/InspectorResolver.cpp
|
| diff --git a/Source/core/inspector/InspectorResolver.cpp b/Source/core/inspector/InspectorResolver.cpp
|
| deleted file mode 100644
|
| index 88a468cbd3bc1d781859b4e157e7238fc8e79f52..0000000000000000000000000000000000000000
|
| --- a/Source/core/inspector/InspectorResolver.cpp
|
| +++ /dev/null
|
| @@ -1,39 +0,0 @@
|
| -// Copyright 2015 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "config.h"
|
| -#include "core/inspector/InspectorResolver.h"
|
| -
|
| -#include "core/dom/DOMNodeIds.h"
|
| -#include "core/dom/Document.h"
|
| -#include "core/dom/Node.h"
|
| -#include "core/frame/LocalFrame.h"
|
| -#include "core/inspector/InspectorIdentifiers.h"
|
| -#include "core/loader/DocumentLoader.h"
|
| -#include "wtf/text/WTFString.h"
|
| -
|
| -namespace blink {
|
| -
|
| -namespace InspectorResolver {
|
| -
|
| -Node* resolveNode(LocalFrame* inspectedFrame, int identifier)
|
| -{
|
| - Node* node = DOMNodeIds::nodeForId(identifier);
|
| - LocalFrame* frame = node ? node->document().frame() : nullptr;
|
| - if (!frame || frame->instrumentingAgents() != inspectedFrame->instrumentingAgents())
|
| - return nullptr;
|
| - return node;
|
| -}
|
| -
|
| -LocalFrame* resolveFrame(LocalFrame* inspectedFrame, const String& identifier)
|
| -{
|
| - LocalFrame* frame = InspectorIdentifiers<LocalFrame>::lookup(identifier);
|
| - if (!frame || frame->instrumentingAgents() != inspectedFrame->instrumentingAgents())
|
| - return nullptr;
|
| - return frame;
|
| -}
|
| -
|
| -} // namespace InspectorResolver
|
| -
|
| -} // namespace blink
|
|
|