| Index: third_party/WebKit/Source/platform/v8_inspector/InspectorWrapper.h
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/InspectorWrapper.h b/third_party/WebKit/Source/platform/v8_inspector/InspectorWrapper.h
|
| index f13c507853c39cb3f262420c54b2a50ad0eb33f6..ab393f96b0934063ef859587d9b9bc8140ac941b 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/InspectorWrapper.h
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/InspectorWrapper.h
|
| @@ -11,8 +11,6 @@
|
|
|
| namespace blink {
|
|
|
| -class V8DebuggerClient;
|
| -
|
| class InspectorWrapperBase {
|
| public:
|
| struct V8MethodConfiguration {
|
| @@ -28,7 +26,7 @@ public:
|
| static v8::Local<v8::FunctionTemplate> createWrapperTemplate(v8::Isolate*, const char* className, const protocol::Vector<V8MethodConfiguration>& methods, const protocol::Vector<V8AttributeConfiguration>& attributes);
|
|
|
| protected:
|
| - static v8::Local<v8::Object> createWrapper(V8DebuggerClient*, v8::Local<v8::FunctionTemplate>, v8::Local<v8::Context>);
|
| + static v8::Local<v8::Object> createWrapper(v8::Local<v8::FunctionTemplate>, v8::Local<v8::Context>);
|
| static void* unwrap(v8::Local<v8::Context>, v8::Local<v8::Object>, const char* name);
|
|
|
| static v8::Local<v8::String> v8InternalizedString(v8::Isolate*, const char* name);
|
| @@ -71,10 +69,10 @@ public:
|
| return InspectorWrapperBase::createWrapperTemplate(isolate, className, methods, attributes);
|
| }
|
|
|
| - static v8::Local<v8::Object> wrap(V8DebuggerClient* client, v8::Local<v8::FunctionTemplate> constructorTemplate, v8::Local<v8::Context> context, T* object)
|
| + static v8::Local<v8::Object> wrap(v8::Local<v8::FunctionTemplate> constructorTemplate, v8::Local<v8::Context> context, T* object)
|
| {
|
| v8::Context::Scope contextScope(context);
|
| - v8::Local<v8::Object> result = InspectorWrapperBase::createWrapper(client, constructorTemplate, context);
|
| + v8::Local<v8::Object> result = InspectorWrapperBase::createWrapper(constructorTemplate, context);
|
| if (result.IsEmpty())
|
| return v8::Local<v8::Object>();
|
| v8::Isolate* isolate = context->GetIsolate();
|
| @@ -85,10 +83,10 @@ public:
|
| return result;
|
| }
|
|
|
| - static v8::Local<v8::Object> wrap(V8DebuggerClient* client, v8::Local<v8::FunctionTemplate> constructorTemplate, v8::Local<v8::Context> context, PassOwnPtr<T> object)
|
| + static v8::Local<v8::Object> wrap(v8::Local<v8::FunctionTemplate> constructorTemplate, v8::Local<v8::Context> context, PassOwnPtr<T> object)
|
| {
|
| v8::Context::Scope contextScope(context);
|
| - v8::Local<v8::Object> result = InspectorWrapperBase::createWrapper(client, constructorTemplate, context);
|
| + v8::Local<v8::Object> result = InspectorWrapperBase::createWrapper(constructorTemplate, context);
|
| if (result.IsEmpty())
|
| return v8::Local<v8::Object>();
|
| v8::Isolate* isolate = context->GetIsolate();
|
|
|