Index: third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp |
diff --git a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp |
index e8abe9e3ed724f4579e98cb373ec435a735210d1..810aa0ed3c7132cc8023adc0eca11a832cd9c26e 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp |
+++ b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp |
@@ -55,8 +55,8 @@ |
#include "modules/indexeddb/IDBOpenDBRequest.h" |
#include "modules/indexeddb/IDBRequest.h" |
#include "modules/indexeddb/IDBTransaction.h" |
-#include "platform/JSONValues.h" |
-#include "platform/JSONValuesForV8.h" |
+#include "platform/inspector_protocol/Values.h" |
+#include "platform/v8_inspector/public/V8ToProtocolValue.h" |
#include "platform/weborigin/SecurityOrigin.h" |
#include "public/platform/modules/indexeddb/WebIDBCursor.h" |
#include "public/platform/modules/indexeddb/WebIDBTypes.h" |
@@ -474,9 +474,9 @@ public: |
const String errorMessage("\"Inspection error. Maximum depth reached?\""); |
ScriptState* scriptState = m_scriptState.get(); |
ScriptState::Scope scope(scriptState); |
- RefPtr<JSONValue> keyJsonValue = toJSONValue(scriptState->context(), idbCursor->key(scriptState).v8Value()); |
- RefPtr<JSONValue> primaryKeyJsonValue = toJSONValue(scriptState->context(), idbCursor->primaryKey(scriptState).v8Value()); |
- RefPtr<JSONValue> valueJsonValue = toJSONValue(scriptState->context(), idbCursor->value(scriptState).v8Value()); |
+ RefPtr<protocol::Value> keyJsonValue = toProtocolValue(scriptState->context(), idbCursor->key(scriptState).v8Value()); |
+ RefPtr<protocol::Value> primaryKeyJsonValue = toProtocolValue(scriptState->context(), idbCursor->primaryKey(scriptState).v8Value()); |
+ RefPtr<protocol::Value> valueJsonValue = toProtocolValue(scriptState->context(), idbCursor->value(scriptState).v8Value()); |
String key = keyJsonValue ? keyJsonValue->toJSONString() : errorMessage; |
String value = valueJsonValue ? valueJsonValue->toJSONString() : errorMessage; |
String primaryKey = primaryKeyJsonValue ? primaryKeyJsonValue->toJSONString() : errorMessage; |