diff options
-rw-r--r-- | webkit/glue/plugins/test/plugin_private_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/plugins/test/plugin_private_test.cc b/webkit/glue/plugins/test/plugin_private_test.cc index b1459c3..65bbd89 100644 --- a/webkit/glue/plugins/test/plugin_private_test.cc +++ b/webkit/glue/plugins/test/plugin_private_test.cc @@ -41,7 +41,7 @@ NPError PrivateTest::New(uint16 mode, int16 argc, std::string href_str(href_var.value.stringValue.UTF8Characters, href_var.value.stringValue.UTF8Length); bool private_expected = href_str.find("?private") != href_str.npos; - if (private_mode != private_expected) + if (private_expected != private_expected) SetError("NPNVprivateModeBool returned incorrect value."); HostFunctions()->releasevariantvalue(&href_var); |