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

Unified Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 981483002: Remove Unused setTopControlsContentOffset function (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 | « content/renderer/gpu/render_widget_compositor.h ('k') | mojo/services/html_viewer/weblayertreeview_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index f844d31d1d9d138056e25682d9d9c79db84790cd..c01231ece0675a9256bef05c8322dde5a74d07c6 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -772,10 +772,6 @@ void RenderWidgetCompositor::setTopControlsHeight(float height, bool shrink) {
layer_tree_host_->SetTopControlsHeight(height, shrink);
}
-void RenderWidgetCompositor::setTopControlsContentOffset(float offset) {
- setTopControlsShownRatio(offset);
-}
-
void RenderWidgetCompositor::setTopControlsShownRatio(float ratio) {
layer_tree_host_->SetTopControlsShownRatio(ratio);
}
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.h ('k') | mojo/services/html_viewer/weblayertreeview_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698