Commit 4b8ac8e3 authored by jhawkins@chromium.org's avatar jhawkins@chromium.org

Fix a typo.

CID=2001
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/155153

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20046 0039d316-1c4b-4281-b951-d872f2087c98
parent e8f6ff44
...@@ -41,7 +41,7 @@ NPError PrivateTest::New(uint16 mode, int16 argc, ...@@ -41,7 +41,7 @@ NPError PrivateTest::New(uint16 mode, int16 argc,
std::string href_str(href_var.value.stringValue.UTF8Characters, std::string href_str(href_var.value.stringValue.UTF8Characters,
href_var.value.stringValue.UTF8Length); href_var.value.stringValue.UTF8Length);
bool private_expected = href_str.find("?private") != href_str.npos; bool private_expected = href_str.find("?private") != href_str.npos;
if (private_expected != private_expected) if (private_mode != private_expected)
SetError("NPNVprivateModeBool returned incorrect value."); SetError("NPNVprivateModeBool returned incorrect value.");
HostFunctions()->releasevariantvalue(&href_var); HostFunctions()->releasevariantvalue(&href_var);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment