Index: webkit/glue/plugins/test/plugin_private_test.cc |
=================================================================== |
--- webkit/glue/plugins/test/plugin_private_test.cc (revision 20047) |
+++ webkit/glue/plugins/test/plugin_private_test.cc (working copy) |
@@ -41,7 +41,7 @@ |
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_expected != private_expected) |
+ if (private_mode != static_cast<NPBool>(private_expected)) |
SetError("NPNVprivateModeBool returned incorrect value."); |
HostFunctions()->releasevariantvalue(&href_var); |