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

Unified Diff: content/test/plugin/plugin_npobject_lifetime_test.cc

Issue 637023002: Misc. cleanup, primarily removing unused locals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove macros.h change Created 6 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: content/test/plugin/plugin_npobject_lifetime_test.cc
diff --git a/content/test/plugin/plugin_npobject_lifetime_test.cc b/content/test/plugin/plugin_npobject_lifetime_test.cc
index 7ef5d26996524ff85e0c9349d23f9c6ea35305e0..3e28874776ed42b84cecfaf9f081650435d00f27 100644
--- a/content/test/plugin/plugin_npobject_lifetime_test.cc
+++ b/content/test/plugin/plugin_npobject_lifetime_test.cc
@@ -71,8 +71,8 @@ void NPObjectLifetimeTest::URLNotify(const char* url, NPReason reason,
// Declare a local variant value.
NPVariant variantValue;
// Get the location property from the window object (which is another object).
- bool b1 = HostFunctions()->getproperty(id(), other_plugin_instance_object_,
- identifier, &variantValue );
+ HostFunctions()->getproperty(id(), other_plugin_instance_object_, identifier,
+ &variantValue );
HostFunctions()->releaseobject(other_plugin_instance_object_);
other_plugin_instance_object_ = NULL;
// If this test failed, then we'd have crashed by now.
@@ -165,7 +165,7 @@ void CALLBACK NPObjectDeletePluginInNPN_Evaluate::TimerProc(
static_cast<unsigned int>(script.length());
NPVariant result_var;
- bool result = g_npn_evaluate_test_instance_->HostFunctions()->evaluate(
+ 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