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

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

Issue 18009003: Instant Extended: Delete unused overlay code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | « chrome/chrome_tests_unit.gypi ('k') | content/public/browser/render_widget_host_view_mac_delegate.h » ('j') | 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 16ae6a65acb2275372b7b6c61d97407376300cc3..823b3a2530c5bc64068db96ba3017ecc4c854afe 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -1237,8 +1237,6 @@ bool RenderWidgetHostViewMac::CompositorSwapBuffers(
return true;
}
- bool should_post_notification = false;
-
if (use_core_animation_) {
if (!CreateCompositedIOSurfaceAndLayer()) {
LOG(ERROR) << "Failed to create CompositingIOSurface or its layer";
@@ -1254,7 +1252,6 @@ bool RenderWidgetHostViewMac::CompositorSwapBuffers(
return false;
}
}
- should_post_notification = true;
if (!compositing_iosurface_->SetIOSurface(
surface_handle, size, surface_scale_factor, latency_info)) {
@@ -1286,11 +1283,6 @@ bool RenderWidgetHostViewMac::CompositorSwapBuffers(
}
}
- if (should_post_notification && [[cocoa_view_ delegate]
- respondsToSelector:@selector(compositingIOSurfaceCreated)]) {
- [[cocoa_view_ delegate] compositingIOSurfaceCreated];
- }
-
return true;
}
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | content/public/browser/render_widget_host_view_mac_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698