| Index: Source/platform/JSONValues.h
|
| diff --git a/Source/platform/JSONValues.h b/Source/platform/JSONValues.h
|
| index 8d609c64d3d775a0e3e67e773cf51d5d894784a9..f73e6883a8dbaaaf463834086cdf3fd710545fc3 100644
|
| --- a/Source/platform/JSONValues.h
|
| +++ b/Source/platform/JSONValues.h
|
| @@ -304,91 +304,6 @@ public:
|
| using JSONArrayBase::end;
|
| };
|
|
|
| -
|
| -inline JSONObjectBase::iterator JSONObjectBase::find(const String& name)
|
| -{
|
| - return m_data.find(name);
|
| -}
|
| -
|
| -inline JSONObjectBase::const_iterator JSONObjectBase::find(const String& name) const
|
| -{
|
| - return m_data.find(name);
|
| -}
|
| -
|
| -inline void JSONObjectBase::setBoolean(const String& name, bool value)
|
| -{
|
| - setValue(name, JSONBasicValue::create(value));
|
| -}
|
| -
|
| -inline void JSONObjectBase::setNumber(const String& name, double value)
|
| -{
|
| - setValue(name, JSONBasicValue::create(value));
|
| -}
|
| -
|
| -inline void JSONObjectBase::setString(const String& name, const String& value)
|
| -{
|
| - setValue(name, JSONString::create(value));
|
| -}
|
| -
|
| -inline void JSONObjectBase::setValue(const String& name, PassRefPtr<JSONValue> value)
|
| -{
|
| - ASSERT(value);
|
| - if (m_data.set(name, value).isNewEntry)
|
| - m_order.append(name);
|
| -}
|
| -
|
| -inline void JSONObjectBase::setObject(const String& name, PassRefPtr<JSONObject> value)
|
| -{
|
| - ASSERT(value);
|
| - if (m_data.set(name, value).isNewEntry)
|
| - m_order.append(name);
|
| -}
|
| -
|
| -inline void JSONObjectBase::setArray(const String& name, PassRefPtr<JSONArray> value)
|
| -{
|
| - ASSERT(value);
|
| - if (m_data.set(name, value).isNewEntry)
|
| - m_order.append(name);
|
| -}
|
| -
|
| -inline void JSONArrayBase::pushBoolean(bool value)
|
| -{
|
| - m_data.append(JSONBasicValue::create(value));
|
| -}
|
| -
|
| -inline void JSONArrayBase::pushInt(int value)
|
| -{
|
| - m_data.append(JSONBasicValue::create(value));
|
| -}
|
| -
|
| -inline void JSONArrayBase::pushNumber(double value)
|
| -{
|
| - m_data.append(JSONBasicValue::create(value));
|
| -}
|
| -
|
| -inline void JSONArrayBase::pushString(const String& value)
|
| -{
|
| - m_data.append(JSONString::create(value));
|
| -}
|
| -
|
| -inline void JSONArrayBase::pushValue(PassRefPtr<JSONValue> value)
|
| -{
|
| - ASSERT(value);
|
| - m_data.append(value);
|
| -}
|
| -
|
| -inline void JSONArrayBase::pushObject(PassRefPtr<JSONObject> value)
|
| -{
|
| - ASSERT(value);
|
| - m_data.append(value);
|
| -}
|
| -
|
| -inline void JSONArrayBase::pushArray(PassRefPtr<JSONArray> value)
|
| -{
|
| - ASSERT(value);
|
| - m_data.append(value);
|
| -}
|
| -
|
| } // namespace WebCore
|
|
|
| #endif // !defined(JSONValues_h)
|
|
|