summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/notifications/balloon_view.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-04 05:05:48 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-04 05:05:48 +0000
commita3406979cd56b42ec58244e6382ca77c2c93205d (patch)
tree76d2c688df49a6d3dc3d182c86b15ffe5ba9cf8e /chrome/browser/views/notifications/balloon_view.cc
parent1111563020b92fc9f6943e0b5c00f66de2f57082 (diff)
downloadchromium_src-a3406979cd56b42ec58244e6382ca77c2c93205d.zip
chromium_src-a3406979cd56b42ec58244e6382ca77c2c93205d.tar.gz
chromium_src-a3406979cd56b42ec58244e6382ca77c2c93205d.tar.bz2
Attempt 2 at:
Gets find bar animation/clipping to work on views/gtk. The only difference between this and the first version is fixing an include in extension_host that was triggering mac to build views, as well as an extraneous SetSlideDuration I had used for testing. BUG=none TEST=none TBR=ben Review URL: http://codereview.chromium.org/342116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30942 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/notifications/balloon_view.cc')
-rw-r--r--chrome/browser/views/notifications/balloon_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/notifications/balloon_view.cc b/chrome/browser/views/notifications/balloon_view.cc
index a092ce4..cb0ef1e 100644
--- a/chrome/browser/views/notifications/balloon_view.cc
+++ b/chrome/browser/views/notifications/balloon_view.cc
@@ -137,7 +137,7 @@ void BalloonViewImpl::SizeContentsWindow() {
gfx::Path path;
GetContentsMask(contents_rect, &path);
- html_container_->SetShape(path);
+ html_container_->SetShape(path.CreateNativeRegion());
}
void BalloonViewImpl::RepositionToBalloon() {