[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
andersca at apple.com
andersca at apple.com
Wed Dec 22 11:36:21 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit b92c057632afc841274dd7cb6d31bc97d82f6348
Author: andersca at apple.com <andersca at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Jul 30 17:39:59 2010 +0000
Try to fix the layout test failures.
* DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
(webkit_test_plugin_get_value):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index fb40886..83ded22 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,10 @@
+2010-07-30 Anders Carlsson <andersca at apple.com>
+
+ Try to fix the layout test failures.
+
+ * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
+ (webkit_test_plugin_get_value):
+
2010-07-29 Anders Carlsson <andersca at apple.com>
Reviewed by Adam Roben.
diff --git a/WebKitTools/DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp b/WebKitTools/DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp
index d56c9a3..8216f7a 100644
--- a/WebKitTools/DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp
+++ b/WebKitTools/DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp
@@ -286,10 +286,12 @@ webkit_test_plugin_url_notify(NPP instance, const char* url, NPReason reason, vo
static NPError
webkit_test_plugin_get_value(NPP instance, NPPVariable variable, void *value)
{
- PluginObject* obj = static_cast<PluginObject*>(instance->pdata);
+ PluginObject* obj = 0;
+ if (instance)
+ obj = static_cast<PluginObject*>(instance->pdata);
// First, check if the PluginTest object supports getting this value.
- if (obj->pluginTest->NPP_GetValue(variable, value) == NPERR_NO_ERROR)
+ if (obj && obj->pluginTest->NPP_GetValue(variable, value) == NPERR_NO_ERROR)
return NPERR_NO_ERROR;
NPError err = NPERR_NO_ERROR;
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list