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

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

Issue 775143003: cc: Implement unified BeginFrame on aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add unittest Created 5 years, 9 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
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..1dde02781d267dee5158af27f339d1dea7da15f2 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -440,12 +440,6 @@ void RenderWidgetHostViewMac::DelegatedFrameHostOnLostCompositorResources() {
render_widget_host_->ScheduleComposite();
}
-void RenderWidgetHostViewMac::DelegatedFrameHostUpdateVSyncParameters(
- const base::TimeTicks& timebase,
- const base::TimeDelta& interval) {
- render_widget_host_->UpdateVSyncParameters(timebase, interval);
-}
-
////////////////////////////////////////////////////////////////////////////////
// AcceleratedWidgetMacNSView, public:
@@ -552,7 +546,7 @@ RenderWidgetHostViewMac::RenderWidgetHostViewMac(RenderWidgetHost* widget,
if (IsDelegatedRendererEnabled()) {
root_layer_.reset(new ui::Layer(ui::LAYER_SOLID_COLOR));
- delegated_frame_host_.reset(new DelegatedFrameHost(this));
+ delegated_frame_host_.reset(new DelegatedFrameHost(this, false));
}
gfx::Screen::GetScreenFor(cocoa_view_)->AddObserver(this);

Powered by Google App Engine
This is Rietveld 408576698