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

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

Issue 258026: Fix scripting during NPP_Destroy. Note that if the plugin is making a call t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months 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
Index: webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc
===================================================================
--- webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc (revision 28004)
+++ webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc (working copy)
@@ -152,9 +152,9 @@
static_cast<unsigned int>(script.length());
NPVariant result_var;
- NPError result = g_npn_evaluate_test_instance_->HostFunctions()->evaluate(
- g_npn_evaluate_test_instance_->id(), window_obj,
- &script_string, &result_var);
+ bool result = g_npn_evaluate_test_instance_->HostFunctions()->evaluate(
+ g_npn_evaluate_test_instance_->id(), window_obj,
+ &script_string, &result_var);
// If this test failed we would have crashed by now.
}

Powered by Google App Engine
This is Rietveld 408576698