Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Unified Diff: third_party/WebKit/Source/core/inspector/AsyncCallChain.cpp

Issue 1650283002: DevTools: remove DOM and Bindings dependencies from inspector/v8. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/AsyncCallChain.cpp
diff --git a/third_party/WebKit/Source/core/inspector/AsyncCallChain.cpp b/third_party/WebKit/Source/core/inspector/AsyncCallChain.cpp
deleted file mode 100644
index 48084e84afca8cca2487eb416c2b286e83acd63e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/inspector/AsyncCallChain.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2014 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 "core/inspector/AsyncCallChain.h"
-
-#include "wtf/text/WTFString.h"
-
-namespace blink {
-
-AsyncCallStack::AsyncCallStack(const String& description, v8::Local<v8::Object> callFrames)
- : m_description(description)
- , m_callFrames(callFrames->GetIsolate(), callFrames)
-{
-}
-
-AsyncCallStack::~AsyncCallStack()
-{
-}
-
-PassRefPtr<AsyncCallChain> AsyncCallChain::create(v8::Local<v8::Context> creationContext, PassRefPtr<AsyncCallStack> stack, AsyncCallChain* prevChain, unsigned asyncCallChainMaxLength)
-{
- return adoptRef(new AsyncCallChain(creationContext, stack, prevChain, asyncCallChainMaxLength));
-}
-
-AsyncCallChain::AsyncCallChain(v8::Local<v8::Context> creationContext, PassRefPtr<AsyncCallStack> stack, AsyncCallChain* prevChain, unsigned asyncCallChainMaxLength)
-{
- m_creationContext.Reset(creationContext->GetIsolate(), creationContext);
- if (stack)
- m_callStacks.append(stack);
- if (prevChain) {
- const AsyncCallStackVector& other = prevChain->m_callStacks;
- for (size_t i = 0; i < other.size() && m_callStacks.size() < asyncCallChainMaxLength; i++)
- m_callStacks.append(other[i]);
- }
-}
-
-AsyncCallChain::~AsyncCallChain()
-{
-}
-
-} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698