Changeset 53993 in webkit
- Timestamp:
- Jan 28, 2010 2:46:26 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r53975 r53993 1 2010-01-28 Yury Semikhatsky <yurys@chromium.org> 2 3 Reviewed by Pavel Feldman. 4 5 Simplify isActivation method. 6 7 https://bugs.webkit.org/show_bug.cgi?id=34161 8 9 Test: WebCore/manual-tests/inspector/debugger-scopes-inspection.html 10 11 * bindings/js/JSInjectedScriptHostCustom.cpp: 12 (WebCore::JSInjectedScriptHost::isActivation): 13 1 14 2010-01-27 Kent Tamura <tkent@chromium.org> 2 15 -
trunk/WebCore/bindings/js/JSInjectedScriptHostCustom.cpp
r53945 r53993 127 127 } 128 128 129 JSValue JSInjectedScriptHost::isActivation(ExecState* exec, const ArgList& args) 130 { 131 if (args.size() < 1) 132 return jsUndefined(); 133 134 JSValue value = args.at(0); 135 if (!value.isObject()) 136 return jsBoolean(false); 137 138 JSObject* object = value.toObject(exec); 139 return jsBoolean(object->isActivationObject()); 129 JSValue JSInjectedScriptHost::isActivation(ExecState*, const ArgList& args) 130 { 131 JSObject* object = args.at(0).getObject(); 132 return jsBoolean(object && object->isActivationObject()); 140 133 } 141 134
Note: See TracChangeset
for help on using the changeset viewer.