summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/bho.cc2
-rw-r--r--chrome_frame/test/test_with_web_server.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome_frame/bho.cc b/chrome_frame/bho.cc
index 2877179..5ea51125 100644
--- a/chrome_frame/bho.cc
+++ b/chrome_frame/bho.cc
@@ -316,7 +316,7 @@ bool PatchHelper::InitializeAndPatchProtocolsIfNeeded() {
ProtocolPatchMethod patch_method =
static_cast<ProtocolPatchMethod>(
- GetConfigInt(PATCH_METHOD_IBROWSER, kPatchProtocols));
+ GetConfigInt(PATCH_METHOD_MONIKER, kPatchProtocols));
if (patch_method == PATCH_METHOD_INET_PROTOCOL) {
ProtocolSinkWrap::PatchProtocolHandlers();
state_ = PATCH_PROTOCOL;
diff --git a/chrome_frame/test/test_with_web_server.cc b/chrome_frame/test/test_with_web_server.cc
index b5c9648..2248089 100644
--- a/chrome_frame/test/test_with_web_server.cc
+++ b/chrome_frame/test/test_with_web_server.cc
@@ -19,7 +19,7 @@ const int kChromeFrameLongNavigationTimeoutInSeconds = 10;
bool MonikerPatchEnabled() {
ProtocolPatchMethod patch_method =
static_cast<ProtocolPatchMethod>(
- GetConfigInt(PATCH_METHOD_IBROWSER, kPatchProtocols));
+ GetConfigInt(PATCH_METHOD_MONIKER, kPatchProtocols));
LOG_IF(ERROR, patch_method != PATCH_METHOD_MONIKER)
<< "Not running test. Moniker patch not enabled.";
return patch_method == PATCH_METHOD_MONIKER;