Changeset 24719 in webkit
- Timestamp:
- Jul 27, 2007 4:59:09 AM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r24717 r24719 1 2007-07-27 Patrick Hanna <phanna@email.unc.edu> 2 3 Reviewed by Darin Adler. 4 5 Change PluginBase::refresh to be static and update PluginsFunc::callAsFunction accordingly. Now we no longer 6 allocate an instance of a JSObject subclass on the stack which could lead to a crash during garbage collection. 7 8 * bindings/js/kjs_navigator.cpp: 9 (KJS::PluginsFunc::callAsFunction): 10 1 11 2007-07-27 Simon Hausmann <hausmann@kde.org> 2 12 -
trunk/WebCore/bindings/js/kjs_navigator.cpp
r21749 r24719 72 72 virtual ~PluginBase(); 73 73 74 void refresh(bool reload);74 static void refresh(bool reload); 75 75 76 76 protected: … … 535 535 JSValue *PluginsFunc::callAsFunction(ExecState *exec, JSObject *, const List &args) 536 536 { 537 PluginBase (exec).refresh(args[0]->toBoolean(exec));537 PluginBase::refresh(args[0]->toBoolean(exec)); 538 538 return jsUndefined(); 539 539 }
Note: See TracChangeset
for help on using the changeset viewer.