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

Unified Diff: cc/trees/layer_tree_host_common.h

Issue 1902893002: cc: Move calculation of content rect to RenderSurfaceImpl class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@targetid
Patch Set: Created 4 years, 8 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_common.h
diff --git a/cc/trees/layer_tree_host_common.h b/cc/trees/layer_tree_host_common.h
index 090cf8c543777e43e60a117aa418591e3fff8068..34bc8075c38015f9a4df93bb5de37be3194020a0 100644
--- a/cc/trees/layer_tree_host_common.h
+++ b/cc/trees/layer_tree_host_common.h
@@ -45,10 +45,6 @@ enum CallFunctionLayerType : uint32_t {
class CC_EXPORT LayerTreeHostCommon {
public:
- static gfx::Rect CalculateVisibleRect(const gfx::Rect& target_surface_rect,
- const gfx::Rect& layer_bound_rect,
- const gfx::Transform& transform);
-
struct CC_EXPORT CalcDrawPropsMainInputsForTesting {
public:
CalcDrawPropsMainInputsForTesting(Layer* root_layer,

Powered by Google App Engine
This is Rietveld 408576698