diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-09 23:53:26 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-09 23:53:26 +0000 |
commit | ffec6bf36fb4527d051960d4871623a5b91ec122 (patch) | |
tree | ebe555761e809e0733955482b3f8581f74e4b171 /chrome_frame/urlmon_moniker.h | |
parent | 443f856cef514cbfd1a17d486f66c3d3530946c5 (diff) | |
download | chromium_src-ffec6bf36fb4527d051960d4871623a5b91ec122.zip chromium_src-ffec6bf36fb4527d051960d4871623a5b91ec122.tar.gz chromium_src-ffec6bf36fb4527d051960d4871623a5b91ec122.tar.bz2 |
Fix IE6 switching issues
Fixes for issues with new moniker patch.
BUG=none
TEST=covered by existing tests
Review URL: http://codereview.chromium.org/1625010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44160 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/urlmon_moniker.h')
-rw-r--r-- | chrome_frame/urlmon_moniker.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome_frame/urlmon_moniker.h b/chrome_frame/urlmon_moniker.h index 885b7fe..ff45bec 100644 --- a/chrome_frame/urlmon_moniker.h +++ b/chrome_frame/urlmon_moniker.h @@ -14,6 +14,7 @@ #include "base/logging.h" #include "base/scoped_comptr_win.h" #include "base/thread_local.h" +#include "googleurl/src/gurl.h" #include "chrome_frame/utils.h" // This file contains classes that are used to cache the contents of a top-level @@ -131,7 +132,7 @@ class NavigationManager { // Return true if this is a URL that represents a top-level // document that might have to be rendered in CF. virtual bool IsTopLevelUrl(const wchar_t* url) { - return lstrcmpiW(url_.c_str(), url) == 0; + return GURL(url_) == GURL(url); } // Called from HttpNegotiatePatch::BeginningTransaction when a request is |