| Index: webkit/glue/plugins/test/plugin_windowed_test.cc
|
| diff --git a/webkit/glue/plugins/test/plugin_windowed_test.cc b/webkit/glue/plugins/test/plugin_windowed_test.cc
|
| index 2ed3ae654ef0d7f12e45d4dfdb11eb16348d732b..c82aa55be93721736bba54c0e1aac3ab3921a2e2 100644
|
| --- a/webkit/glue/plugins/test/plugin_windowed_test.cc
|
| +++ b/webkit/glue/plugins/test/plugin_windowed_test.cc
|
| @@ -90,8 +90,8 @@ NPError WindowedPluginTest::Destroy() {
|
| bool result = HostFunctions()->evaluate(
|
| id(), window_obj, &script_string, &result_var);
|
| if (!result ||
|
| - result_var.type != NPVariantType_Int32 ||
|
| - result_var.value.intValue != 42) {
|
| + result_var.type != NPVariantType_Double ||
|
| + result_var.value.doubleValue != 42.0) {
|
| SetError("Failed to script during NPP_Destroy");
|
| }
|
| }
|
|
|