[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
mjs
mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:35:05 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 35e93ece7347d74cfa1b331d8a5236f8e9bf2012
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Apr 8 01:36:29 2003 +0000
Reviewed by Richard.
- fixed 3219584 - REGRESSION: launch times appear slower in v71
* WebView.subproj/WebView.m:
(+[WebView canShowMIMEType:]): Avoid loading plugin database if we
can find a view without doing so.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index f3b40a5..bfe6e5f 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,13 @@
+2003-04-07 Maciej Stachowiak <mjs at apple.com>
+
+ Reviewed by Richard.
+
+ - fixed 3219584 - REGRESSION: launch times appear slower in v71
+
+ * WebView.subproj/WebView.m:
+ (+[WebView canShowMIMEType:]): Avoid loading plugin database if we
+ can find a view without doing so.
+
2003-04-07 Darin Adler <darin at apple.com>
* WebView.subproj/WebUserAgentSpoofTable.c: Regenerated.
diff --git a/WebKit/WebView.subproj/WebView.m b/WebKit/WebView.subproj/WebView.m
index d104679..f0e5e0c 100644
--- a/WebKit/WebView.subproj/WebView.m
+++ b/WebKit/WebView.subproj/WebView.m
@@ -57,14 +57,11 @@ NSString *WebElementLinkTitleKey = @"WebElementLinkTitle";
+ (BOOL)canShowMIMEType:(NSString *)MIMEType
{
- [[WebPluginDatabase installedPlugins] loadPluginIfNeededForMIMEType: MIMEType];
-
Class viewClass = [WebFrameView _viewClassForMIMEType:MIMEType];
Class repClass = [WebDataSource _representationClassForMIMEType:MIMEType];
-
- if (!viewClass || !repClass){
- // Have the plug-ins register views and representations
- [WebPluginDatabase installedPlugins];
+
+ if (!viewClass || !repClass) {
+ [[WebPluginDatabase installedPlugins] loadPluginIfNeededForMIMEType: MIMEType];
viewClass = [WebFrameView _viewClassForMIMEType:MIMEType];
repClass = [WebDataSource _representationClassForMIMEType:MIMEType];
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list