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

Unified Diff: cc/trees/layer_tree_host.h

Issue 1560403002: Scale scrollbar in use-zoom-for-dsf mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index f7bd43368c3abde927cf59c358cf6ea2273b141b..a318e1d2f16a85642f4315a0e73393fb568d3273 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -248,6 +248,9 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
void SetPaintedDeviceScaleFactor(float painted_device_scale_factor);
float device_scale_factor() const { return device_scale_factor_; }
+ float painted_device_scale_factor() const {
+ return painted_device_scale_factor_;
+ }
void UpdateTopControlsState(TopControlsState constraints,
TopControlsState current,

Powered by Google App Engine
This is Rietveld 408576698