Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 983523002: Remove fade animation on tab-switch when using the 10.9 SDK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index 78594232ff08a409cd787df036f8031d9e350ed6..7f3cb354dc05c946fc6ce1534b5eb6a1ebcd1fea 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -829,6 +829,7 @@ RenderWidgetHost* RenderWidgetHostViewMac::GetRenderWidgetHost() const {
}
void RenderWidgetHostViewMac::Show() {
+ ScopedCAActionDisabler disabler;
[cocoa_view_ setHidden:NO];
if (!render_widget_host_->is_hidden())
return;
@@ -842,6 +843,7 @@ void RenderWidgetHostViewMac::Show() {
}
void RenderWidgetHostViewMac::Hide() {
+ ScopedCAActionDisabler disabler;
[cocoa_view_ setHidden:YES];
WasOccluded();
DestroySuspendedBrowserCompositorViewIfNeeded();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698