diff options
author | weiliangc <weiliangc@chromium.org> | 2016-02-18 17:38:49 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-19 01:40:35 +0000 |
commit | 15346d2c3c89c3496f310f17079e0382489ecb10 (patch) | |
tree | c9a9e3e9e3c5f3d944cb700dfd4257dd4894cbef /cc/layers/render_surface_impl.cc | |
parent | 3898d506818649c772175ea95bcdf9a7ee9bbadc (diff) | |
download | chromium_src-15346d2c3c89c3496f310f17079e0382489ecb10.zip chromium_src-15346d2c3c89c3496f310f17079e0382489ecb10.tar.gz chromium_src-15346d2c3c89c3496f310f17079e0382489ecb10.tar.bz2 |
Delete CalcDrawProps
We always use property trees. Delete CalcDrawProps. Delete
|use_property_trees| because it's always true. Delete
|verify_property_trees| because we don't have CDP to verify against.
R=enne, piman, ajuma, vollick, dtrainor
BUG=581832
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1706903002
Cr-Commit-Position: refs/heads/master@{#376337}
Diffstat (limited to 'cc/layers/render_surface_impl.cc')
-rw-r--r-- | cc/layers/render_surface_impl.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/cc/layers/render_surface_impl.cc b/cc/layers/render_surface_impl.cc index 72f0fea..a9b641d6 100644 --- a/cc/layers/render_surface_impl.cc +++ b/cc/layers/render_surface_impl.cc @@ -123,15 +123,6 @@ void RenderSurfaceImpl::SetContentRect(const gfx::Rect& content_rect) { content_rect_ = content_rect; } -void RenderSurfaceImpl::SetContentRectFromPropertyTrees( - const gfx::Rect& content_rect) { - if (content_rect_from_property_trees_ == content_rect) - return; - - surface_property_changed_ = true; - content_rect_from_property_trees_ = content_rect; -} - void RenderSurfaceImpl::SetAccumulatedContentRect( const gfx::Rect& content_rect) { accumulated_content_rect_ = content_rect; |