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

Unified Diff: content/browser/compositor/browser_compositor_view_private_mac.mm

Issue 517733002: Revert of Fix assorted issues with remote CoreAnimation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean_up_accel_layers
Patch Set: Created 6 years, 4 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 | content/common/gpu/image_transport_surface_calayer_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/browser_compositor_view_private_mac.mm
diff --git a/content/browser/compositor/browser_compositor_view_private_mac.mm b/content/browser/compositor/browser_compositor_view_private_mac.mm
index 8bdc4e09dab5152bee4859630f0d9013b0200f90..3e1971ca9c71936da1f066cd898b783e87dc46b2 100644
--- a/content/browser/compositor/browser_compositor_view_private_mac.mm
+++ b/content/browser/compositor/browser_compositor_view_private_mac.mm
@@ -60,7 +60,6 @@
native_widget_,
content::GetContextFactory(),
RenderWidgetResizeHelper::Get()->task_runner()));
- compositor_->SetVisible(false);
}
BrowserCompositorViewMacInternal::~BrowserCompositorViewMacInternal() {
@@ -81,7 +80,6 @@
DCHECK(background_layer);
[flipped_layer_ setBounds:[background_layer bounds]];
[background_layer addSublayer:flipped_layer_];
- compositor_->SetVisible(true);
}
void BrowserCompositorViewMacInternal::ResetClient() {
@@ -99,7 +97,6 @@
accelerated_output_surface_id_ = 0;
last_swap_size_dip_ = gfx::Size();
- compositor_->SetVisible(false);
compositor_->SetScaleAndSize(1.0, gfx::Size(0, 0));
compositor_->SetRootLayer(NULL);
client_ = NULL;
« no previous file with comments | « no previous file | content/common/gpu/image_transport_surface_calayer_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698