Changeset 140893 in webkit
- Timestamp:
- Jan 25, 2013 5:42:02 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r140892 r140893 1 2013-01-25 Kentaro Hara <haraken@chromium.org> 2 3 Remove InjectedScript::wrapSerializedObject() 4 https://bugs.webkit.org/show_bug.cgi?id=107906 5 6 Reviewed by Abhishek Arya. 7 8 InjectedScript::wrapSerializedObject() is unused. 9 (This is one of steps to remove raw pointers of SerializedScriptValue*, 10 which can be a security concern.) 11 12 * inspector/InjectedScript.cpp: 13 * inspector/InjectedScript.h: 14 (InjectedScript): 15 1 16 2013-01-25 Kentaro Hara <haraken@chromium.org> 2 17 -
trunk/Source/WebCore/inspector/InjectedScript.cpp
r133150 r140893 223 223 } 224 224 225 PassRefPtr<TypeBuilder::Runtime::RemoteObject> InjectedScript::wrapSerializedObject(SerializedScriptValue* serializedScriptValue, const String& groupName) const226 {227 ScriptValue scriptValue = serializedScriptValue->deserializeForInspector(scriptState());228 return scriptValue.hasNoValue() ? 0 : wrapObject(scriptValue, groupName);229 }230 231 225 ScriptValue InjectedScript::findObjectById(const String& objectId) const 232 226 { -
trunk/Source/WebCore/inspector/InjectedScript.h
r133150 r140893 93 93 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(const ScriptValue&, const String& groupName, bool generatePreview = false) const; 94 94 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapNode(Node*, const String& groupName); 95 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapSerializedObject(SerializedScriptValue*, const String& groupName) const;96 95 ScriptValue findObjectById(const String& objectId) const; 97 96
Note: See TracChangeset
for help on using the changeset viewer.