~ubuntu-branches/ubuntu/karmic/webkit/karmic-proposed

« back to all changes in this revision

Viewing changes to JavaScriptCore/runtime/JSByteArray.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-05-15 18:30:58 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090515183058-50q5exjo9b1kxy9s
Tags: 1.1.7-1
* New upstream release
* debian/libwebkit-1.0-2.symbols:
- updated with the new symbols in 1.1.7
* debian/libwebkit-dev.install, debian/libwebkit-dev.links,
  debian/rules:
- Build, and ship gtk-doc documentation (Closes: #526683)
* debian/copyright:
- updated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    putDirect(exec->globalData().propertyNames->length, jsNumber(exec, m_storage->length()), ReadOnly | DontDelete);
44
44
}
45
45
    
46
 
PassRefPtr<Structure> JSByteArray::createStructure(JSValuePtr prototype)
 
46
PassRefPtr<Structure> JSByteArray::createStructure(JSValue prototype)
47
47
{
48
48
    PassRefPtr<Structure> result = Structure::create(prototype, TypeInfo(ObjectType));
49
49
    return result;
69
69
    return JSObject::getOwnPropertySlot(exec, Identifier::from(exec, propertyName), slot);
70
70
}
71
71
 
72
 
void JSByteArray::put(ExecState* exec, const Identifier& propertyName, JSValuePtr value, PutPropertySlot& slot)
 
72
void JSByteArray::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
73
73
{
74
74
    bool ok;
75
75
    unsigned index = propertyName.toUInt32(&ok, false);
80
80
    JSObject::put(exec, propertyName, value, slot);
81
81
}
82
82
 
83
 
void JSByteArray::put(ExecState* exec, unsigned propertyName, JSValuePtr value)
 
83
void JSByteArray::put(ExecState* exec, unsigned propertyName, JSValue value)
84
84
{
85
85
    setIndex(exec, propertyName, value);
86
86
}