Michael Goddard <michael.goddard@trolltech.com>
authorhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Jan 2008 13:41:14 +0000 (13:41 +0000)
committerhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Jan 2008 13:41:14 +0000 (13:41 +0000)
Code style cleanups.
Remove spaces and unneeded declared parameter names.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29757 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/bindings/qt/qt_instance.cpp

index 290d430..729c23e 100644 (file)
@@ -2,6 +2,17 @@
 
         Reviewed by Simon.
 
+        Code style cleanups.
+        Remove spaces and unneeded declared parameter names.
+        
+
+        * bindings/qt/qt_instance.cpp:
+        (KJS::Bindings::QtRuntimeObjectImp::removeFromCache):
+
+2008-01-24  Michael Goddard  <michael.goddard@trolltech.com>
+
+        Reviewed by Simon.
+
         Clear stale RuntimeObjectImps.
         Since other objects can have refs to the QtInstance,
         we can't rely on the QtInstance being deleted when the
index 3bc7eca..e555137 100644 (file)
@@ -45,14 +45,14 @@ static InstanceJSObjectMap cachedObjects;
 // Derived RuntimeObject
 class QtRuntimeObjectImp : public RuntimeObjectImp {
     public:
-        QtRuntimeObjectImp(Instance *instance);
+        QtRuntimeObjectImp(Instance*);
         ~QtRuntimeObjectImp();
         virtual void invalidate();
     protected:
         void removeFromCache();
 };
 
-QtRuntimeObjectImp::QtRuntimeObjectImp(Instance *instance)
+QtRuntimeObjectImp::QtRuntimeObjectImp(Instanceinstance)
     : RuntimeObjectImp(instance)
 {
 }
@@ -71,7 +71,7 @@ void QtRuntimeObjectImp::invalidate()
 void QtRuntimeObjectImp::removeFromCache()
 {
     JSLock lock;
-    QtInstance *key = cachedObjects.key(this);
+    QtInstancekey = cachedObjects.key(this);
     if (key)
         cachedObjects.remove(key);
 }