diff options
author | nhiroki <nhiroki@chromium.org> | 2015-11-04 21:09:56 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-05 05:10:36 +0000 |
commit | 461a5a61af117d5a5a362af8361a0aad43eae6a7 (patch) | |
tree | d300bcc9cf9ff1d6ce6e35826006c1909f8731b2 /cc/trees/layer_tree_host_common.cc | |
parent | 503bf4e751ce080a6a19d017d368cf172d8f280a (diff) | |
download | chromium_src-461a5a61af117d5a5a362af8361a0aad43eae6a7.zip chromium_src-461a5a61af117d5a5a362af8361a0aad43eae6a7.tar.gz chromium_src-461a5a61af117d5a5a362af8361a0aad43eae6a7.tar.bz2 |
Revert of Fixed the bug that window capture clipped the content when the window (patchset #5 id:120001 of https://codereview.chromium.org/1398633003/ )
Reason for revert:
This could be breaking virtual/threaded/animations/ tests:
http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win10/builds/2530
http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux/builds/56474
Original issue's description:
> Fixed the bug that window capture clipped the content when the window
> is not fully contained in the desktop.
>
> BUG=541634,511841
> CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
>
> Committed: https://crrev.com/209a697abe402743e10b03d6f8bf8c9fedfdfbe3
> Cr-Commit-Position: refs/heads/master@{#357970}
TBR=enne@chromium.org,ajuma@chromium.org,danakj@chromium.org,isheriff@chromium.org,miu@chromium.org,oshima@chromium.org,xjz@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=541634,511841
Review URL: https://codereview.chromium.org/1407253006
Cr-Commit-Position: refs/heads/master@{#358004}
Diffstat (limited to 'cc/trees/layer_tree_host_common.cc')
-rw-r--r-- | cc/trees/layer_tree_host_common.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc index c9e88ac..4d14ff7 100644 --- a/cc/trees/layer_tree_host_common.cc +++ b/cc/trees/layer_tree_host_common.cc @@ -1893,9 +1893,6 @@ static void CalculateDrawPropertiesInternal( accumulated_surface_state->push_back(AccumulatedSurfaceState(layer)); - // Don't clip if the layer has copy requests. - if (layer->HasCopyRequest()) - subtree_is_clipped_by_surface_bounds = false; render_surface->SetIsClipped(subtree_is_clipped_by_surface_bounds); if (!subtree_is_clipped_by_surface_bounds) { render_surface->SetClipRect(gfx::Rect()); |