summaryrefslogtreecommitdiffstats
path: root/chrome/browser/external_tab_container.cc
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-05 17:05:57 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-05 17:05:57 +0000
commit6603fe9ca7936b6e5622e22c095299e8a3bc00e1 (patch)
tree7a08b1ec9c4509a59e19657847aa3ab76a1533fa /chrome/browser/external_tab_container.cc
parentacf434c6f5373fe5b6b13c43414b781e953bb607 (diff)
downloadchromium_src-6603fe9ca7936b6e5622e22c095299e8a3bc00e1.zip
chromium_src-6603fe9ca7936b6e5622e22c095299e8a3bc00e1.tar.gz
chromium_src-6603fe9ca7936b6e5622e22c095299e8a3bc00e1.tar.bz2
Add the WS_CLIPCHILDREN style to the external tab container window to prevent massive visual flickering during resize.
Review URL: http://codereview.chromium.org/160646 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22486 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container.cc')
-rw-r--r--chrome/browser/external_tab_container.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc
index ee4eb85..b5cead4 100644
--- a/chrome/browser/external_tab_container.cc
+++ b/chrome/browser/external_tab_container.cc
@@ -55,7 +55,7 @@ bool ExternalTabContainer::Init(Profile* profile,
load_requests_via_automation_ = load_requests_via_automation;
- set_window_style(WS_POPUP);
+ set_window_style(WS_POPUP | WS_CLIPCHILDREN);
views::WidgetWin::Init(NULL, bounds);
if (!IsWindow()) {
NOTREACHED();