OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "platform/v8_inspector/V8InjectedScriptHost.h" | 5 #include "platform/v8_inspector/V8InjectedScriptHost.h" |
6 | 6 |
7 #include "platform/inspector_protocol/String16.h" | |
8 #include "platform/v8_inspector/InjectedScriptNative.h" | 7 #include "platform/v8_inspector/InjectedScriptNative.h" |
9 #include "platform/v8_inspector/V8Compat.h" | 8 #include "platform/v8_inspector/V8Compat.h" |
10 #include "platform/v8_inspector/V8Debugger.h" | 9 #include "platform/v8_inspector/V8Debugger.h" |
11 #include "platform/v8_inspector/V8InspectorImpl.h" | 10 #include "platform/v8_inspector/V8InspectorImpl.h" |
12 #include "platform/v8_inspector/V8InternalValueType.h" | 11 #include "platform/v8_inspector/V8InternalValueType.h" |
13 #include "platform/v8_inspector/V8StringUtil.h" | 12 #include "platform/v8_inspector/V8StringUtil.h" |
14 #include "platform/v8_inspector/public/V8InspectorClient.h" | 13 #include "platform/v8_inspector/public/V8InspectorClient.h" |
15 | 14 |
16 namespace blink { | 15 namespace blink { |
17 | 16 |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 NOTREACHED(); | 176 NOTREACHED(); |
178 return; | 177 return; |
179 } | 178 } |
180 v8::Local<v8::Object> target = info[0].As<v8::Proxy>(); | 179 v8::Local<v8::Object> target = info[0].As<v8::Proxy>(); |
181 while (target->IsProxy()) | 180 while (target->IsProxy()) |
182 target = v8::Local<v8::Proxy>::Cast(target)->GetTarget(); | 181 target = v8::Local<v8::Proxy>::Cast(target)->GetTarget(); |
183 info.GetReturnValue().Set(target); | 182 info.GetReturnValue().Set(target); |
184 } | 183 } |
185 | 184 |
186 } // namespace blink | 185 } // namespace blink |
OLD | NEW |