Index: third_party/WebKit/Source/core/inspector/InspectorBaseAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.cpp |
index 101bcf960d43e5c64ef6385df3fcdb5ca20430af..aa32554a2bfb5ebba80d44151a66959eb4cd4254 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.cpp |
@@ -92,7 +92,7 @@ |
{ |
RefPtr<JSONValue> state = parseJSON(savedState); |
if (state) |
- m_state = JSONObject::cast(state); |
+ m_state = state->asObject(); |
if (!m_state) |
m_state = JSONObject::create(); |