[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/khtml/ecma
From:       CVS by faure <kde-cvs () kde ! org>
Date:       2001-02-28 20:02:39
[Download RAW message or body]


kdelibs/khtml/ecma kjs_binding.cpp,1.20,1.21 kjs_binding.h,1.14,1.15
Author: faure
Wed Feb 28 20:02:32 UTC 2001
In directory cvs.kde.org:/var/tmp/cvs-serv18647

Modified Files:
	kjs_binding.cpp kjs_binding.h 
Log Message:
This seems to be called often when using JS sites, so let's speed it up a bit.
-bool KJS::originCheck(const QString url1, const QString url2)
+bool KJS::originCheck(const QString & url1, const QString & url2)
 {
+  if ( url1 == url2 ) // avoid parsing if possible
+    return true;

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic