Changeset 140893 in webkit


Ignore:
Timestamp:
Jan 25, 2013 5:42:02 PM (11 years ago)
Author:
haraken@chromium.org
Message:

Remove InjectedScript::wrapSerializedObject()
https://bugs.webkit.org/show_bug.cgi?id=107906

Reviewed by Abhishek Arya.

InjectedScript::wrapSerializedObject() is unused.
(This is one of steps to remove raw pointers of SerializedScriptValue*,
which can be a security concern.)

  • inspector/InjectedScript.cpp:
  • inspector/InjectedScript.h:

(InjectedScript):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r140892 r140893  
     12013-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
    1162013-01-25  Kentaro Hara  <haraken@chromium.org>
    217
  • trunk/Source/WebCore/inspector/InjectedScript.cpp

    r133150 r140893  
    223223}
    224224
    225 PassRefPtr<TypeBuilder::Runtime::RemoteObject> InjectedScript::wrapSerializedObject(SerializedScriptValue* serializedScriptValue, const String& groupName) const
    226 {
    227     ScriptValue scriptValue = serializedScriptValue->deserializeForInspector(scriptState());
    228     return scriptValue.hasNoValue() ? 0 : wrapObject(scriptValue, groupName);
    229 }
    230 
    231225ScriptValue InjectedScript::findObjectById(const String& objectId) const
    232226{
  • trunk/Source/WebCore/inspector/InjectedScript.h

    r133150 r140893  
    9393    PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(const ScriptValue&, const String& groupName, bool generatePreview = false) const;
    9494    PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapNode(Node*, const String& groupName);
    95     PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapSerializedObject(SerializedScriptValue*, const String& groupName) const;
    9695    ScriptValue findObjectById(const String& objectId) const;
    9796
Note: See TracChangeset for help on using the changeset viewer.