diff options
author | slightlyoff@chromium.org <slightlyoff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-03 01:57:13 +0000 |
---|---|---|
committer | slightlyoff@chromium.org <slightlyoff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-03 01:57:13 +0000 |
commit | c1d1958834699761bf8e122a8325ec66fdce59e9 (patch) | |
tree | 55ef76181cc57fbf62cac4c5f066209b8ea9f9ac | |
parent | 877535175434bbf768234d10cd6df8085e707381 (diff) | |
download | chromium_src-c1d1958834699761bf8e122a8325ec66fdce59e9.zip chromium_src-c1d1958834699761bf8e122a8325ec66fdce59e9.tar.gz chromium_src-c1d1958834699761bf8e122a8325ec66fdce59e9.tar.bz2 |
Adds an inset border on GCF ActiveDocument instances to match IE styles.
BUG=24184
TEST=open page with GCF and with Trident, note same 2px inset border on content in both cases.
Review URL: http://codereview.chromium.org/661330
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40478 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome_frame/chrome_active_document.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/chrome_active_document.cc b/chrome_frame/chrome_active_document.cc index d92fea7..40137e9 100644 --- a/chrome_frame/chrome_active_document.cc +++ b/chrome_frame/chrome_active_document.cc @@ -435,7 +435,7 @@ HRESULT ChromeActiveDocument::ActiveXDocActivate(LONG verb) { ::ShowWindow(m_hWnd, SW_SHOW); SetFocus(); } else { - m_hWnd = Create(parent_window, position_rect); + m_hWnd = Create(parent_window, position_rect, 0, 0, WS_EX_CLIENTEDGE); } } SetObjectRects(&position_rect, &clip_rect); |