Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(766)

Unified Diff: webkit/glue/plugins/test/plugin_windowed_test.cc

Issue 5482002: Fix a ui test result since numbers are now doubles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/webkit/glue/plugins/test
Patch Set: test_shell_tests Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« chrome/test/ui/npapi_uitest.cc ('K') | « webkit/glue/cpp_bound_class_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
}
}
« chrome/test/ui/npapi_uitest.cc ('K') | « webkit/glue/cpp_bound_class_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698