Index: third_party/WebKit/Source/core/inspector/ScriptDebuggerBase.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/ScriptDebuggerBase.cpp b/third_party/WebKit/Source/core/inspector/ScriptDebuggerBase.cpp |
deleted file mode 100644 |
index 3140cdcb2ae234390977370a492741a0fc5c0d5c..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/core/inspector/ScriptDebuggerBase.cpp |
+++ /dev/null |
@@ -1,36 +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 "config.h" |
-#include "core/inspector/ScriptDebuggerBase.h" |
- |
-#include "bindings/core/v8/V8Binding.h" |
-#include "bindings/core/v8/V8ScriptRunner.h" |
-#include "public/platform/Platform.h" |
-#include "public/platform/WebData.h" |
- |
-namespace blink { |
- |
-ScriptDebuggerBase::ScriptDebuggerBase(v8::Isolate* isolate) |
- : m_isolate(isolate) |
- , m_debugger(V8Debugger::create(isolate, this)) |
-{ |
-} |
- |
-ScriptDebuggerBase::~ScriptDebuggerBase() |
-{ |
-} |
- |
-v8::Local<v8::Object> ScriptDebuggerBase::compileDebuggerScript() |
-{ |
- const WebData& debuggerScriptSourceResource = Platform::current()->loadResource("DebuggerScriptSource.js"); |
- v8::Local<v8::String> source = v8String(m_isolate, String(debuggerScriptSourceResource.data(), debuggerScriptSourceResource.size())); |
- v8::Local<v8::Value> value; |
- if (!V8ScriptRunner::compileAndRunInternalScript(source, m_isolate).ToLocal(&value)) |
- return v8::Local<v8::Object>(); |
- ASSERT(value->IsObject()); |
- return value.As<v8::Object>(); |
-} |
- |
-} |