Index: cc/trees/layer_tree_host_impl.h |
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h |
index 9546d4c399026fc58a1816f2fc18a5833e1e8167..c6cc6e0b594799de204d1065626494673cb87d86 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -333,13 +333,6 @@ class CC_EXPORT LayerTreeHostImpl |
DrawMode GetDrawMode() const; |
- // Viewport size in draw space: this size is in physical pixels and is used |
- // for draw properties, tilings, quads and render passes. |
- gfx::Size DrawViewportSize() const; |
- |
- // Viewport rect in view space used for tiling prioritization. |
- const gfx::Rect ViewportRectForTilePriority() const; |
- |
// TileManagerClient implementation. |
void NotifyReadyToActivate() override; |
void NotifyReadyToDraw() override; |
@@ -542,9 +535,13 @@ class CC_EXPORT LayerTreeHostImpl |
void ScheduleMicroBenchmark(std::unique_ptr<MicroBenchmarkImpl> benchmark); |
CompositorFrameMetadata MakeCompositorFrameMetadata() const; |
+ |
// Viewport rectangle and clip in device space. These rects are used to |
// prioritize raster and determine what is submitted in a CompositorFrame. |
gfx::Rect DeviceViewport() const; |
+ // Viewport rect to be used for tiling prioritization instead of the |
+ // DeviceViewport(). |
+ const gfx::Rect ViewportRectForTilePriority() const; |
// When a SwapPromiseMonitor is created on the impl thread, it calls |
// InsertSwapPromiseMonitor() to register itself with LayerTreeHostImpl. |