diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-07 22:19:40 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-07 22:19:40 +0000 |
commit | bf67d582b2a8cb255f467a18de6625fdcb4923f5 (patch) | |
tree | 7da99c80fb8e6b2bad43d7797874d555239f46b4 /webkit | |
parent | bfacb01f726b0f3ba4b1d9c3b9fdac0390de9b30 (diff) | |
download | chromium_src-bf67d582b2a8cb255f467a18de6625fdcb4923f5.zip chromium_src-bf67d582b2a8cb255f467a18de6625fdcb4923f5.tar.gz chromium_src-bf67d582b2a8cb255f467a18de6625fdcb4923f5.tar.bz2 |
Relanding r20046.
Fix a typo.
CID=2001
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/149270
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20092 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-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 65bbd89..cdab7ce 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_expected != private_expected) + if (private_mode != static_cast<NPBool>(private_expected)) SetError("NPNVprivateModeBool returned incorrect value."); HostFunctions()->releasevariantvalue(&href_var); |