diff options
author | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-16 19:44:50 +0000 |
---|---|---|
committer | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-16 19:44:50 +0000 |
commit | 4974c8d5574efecb5aeb90a61b4c7418234513a7 (patch) | |
tree | b76f34a9d1f02dcf71755d03b263ab1b3b81f109 /chrome_frame/utils.cc | |
parent | 9bd382a74497d0564c5e6feee48c1fea34c43d27 (diff) | |
download | chromium_src-4974c8d5574efecb5aeb90a61b4c7418234513a7.zip chromium_src-4974c8d5574efecb5aeb90a61b4c7418234513a7.tar.gz chromium_src-4974c8d5574efecb5aeb90a61b4c7418234513a7.tar.bz2 |
Minor change to less confusing variable name in IsSubFrameRequest in ChromeFrame utils.
TBR=tommi
Review URL: http://codereview.chromium.org/474001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/utils.cc')
-rw-r--r-- | chrome_frame/utils.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome_frame/utils.cc b/chrome_frame/utils.cc index c18cb93..be955bf 100644 --- a/chrome_frame/utils.cc +++ b/chrome_frame/utils.cc @@ -763,7 +763,7 @@ bool IsSubFrameRequest(IUnknown* service_provider) { HRESULT hr = DoQueryService(IID_ITargetFrame2, service_provider, web_browser.Receive()); - bool is_non_top_level_request = false; + bool is_sub_frame_request = false; if (web_browser) { // Now check to see if we are in a sub-frame. ScopedComPtr<IHTMLWindow2> current_frame, parent_frame; @@ -774,14 +774,14 @@ bool IsSubFrameRequest(IUnknown* service_provider) { current_frame->get_parent(parent_frame.Receive()); if (parent_frame != current_frame) { DLOG(INFO) << "Sub frame detected"; - is_non_top_level_request = true; + is_sub_frame_request = true; } } } else { - is_non_top_level_request = true; + is_sub_frame_request = true; } - return is_non_top_level_request; + return is_sub_frame_request; } bool IsHeadlessMode() { |