Changeset 49262 in webkit
- Timestamp:
- Oct 7, 2009, 2:50:10 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r49260 r49262 1 2009-10-07 Pavel Feldman <pfeldman@chromium.org> 2 3 Reviewed by Timothy Hatcher. 4 5 Web Inspector: Add ScriptObject::set(const char*, unsigned). 6 7 https://bugs.webkit.org/show_bug.cgi?id=30104 8 9 * bindings/v8/ScriptObject.cpp: 10 (WebCore::ScriptObject::set): 11 * bindings/v8/ScriptObject.h: 12 1 13 2009-10-07 Brent Fulgham <bfulgham@webkit.org> 2 14 -
trunk/WebCore/bindings/v8/ScriptObject.cpp
r46490 r49262 98 98 } 99 99 100 bool ScriptObject::set(const char* name, unsigned value) 101 { 102 ScriptScope scope(m_scriptState); 103 v8Object()->Set(v8::String::New(name), v8::Number::New(value)); 104 return scope.success(); 105 } 106 100 107 bool ScriptObject::set(const char* name, bool value) 101 108 { -
trunk/WebCore/bindings/v8/ScriptObject.h
r46490 r49262 54 54 bool set(const char* name, long long); 55 55 bool set(const char* name, int); 56 bool set(const char* name, unsigned); 56 57 bool set(const char* name, bool); 57 58
Note:
See TracChangeset
for help on using the changeset viewer.