Index: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp |
index bff402e5a159a51203fabe8cbb5f9d4878b0d745..4ce29d2cb3c9601402567dddfec9887aa2531c4d 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp |
@@ -1455,7 +1455,7 @@ |
return; |
for (auto& cookie : *breakpointsCookie) { |
- RefPtr<JSONObject> breakpointObject = JSONObject::cast(cookie.value); |
+ RefPtr<JSONObject> breakpointObject = cookie.value->asObject(); |
bool isRegex; |
breakpointObject->getBoolean(DebuggerAgentState::isRegex, &isRegex); |
String url; |