Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
Remove check which causes crash seen in brave/browser-laptop#15025
Browse files Browse the repository at this point in the history
Should fix brave/browser-laptop#15025

I tested this for ~30 minutes doing resizing / minimizing / maximizing
content (including video playing) and did not notice any video tearing
or stetching

Auditors: @bridiver, @darkdh
  • Loading branch information
bsclifton committed Aug 29, 2018
1 parent f256433 commit 246b9fa
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions patches/master_patch.patch
Original file line number Diff line number Diff line change
Expand Up @@ -1449,6 +1449,21 @@ index ac7a6eb8c3298bbf6a25bf3eb623a8875383bc1e..e5383acaae9965d602ce3a46671026ea
};

} // namespace password_manager
diff --git a/components/viz/client/client_layer_tree_frame_sink.cc b/components/viz/client/client_layer_tree_frame_sink.cc
index c779823dc6427a56577ed1627f816058da808f72..26d285dad796bd55cee9bf1a87712556ce112f21 100644
--- a/components/viz/client/client_layer_tree_frame_sink.cc
+++ b/components/viz/client/client_layer_tree_frame_sink.cc
@@ -129,10 +129,6 @@ void ClientLayerTreeFrameSink::SubmitCompositorFrame(CompositorFrame frame) {
if (local_surface_id_ == last_submitted_local_surface_id_) {
CHECK_EQ(last_submitted_device_scale_factor_,
frame.device_scale_factor());
- CHECK_EQ(last_submitted_size_in_pixels_.height(),
- frame.size_in_pixels().height());
- CHECK_EQ(last_submitted_size_in_pixels_.width(),
- frame.size_in_pixels().width());
}
}

diff --git a/content/app/content_main_runner_impl.cc b/content/app/content_main_runner_impl.cc
index 83e8990edf17e2cd26687eeec13ef99e25dd4f44..5b3d06b71bab28c001e82828c91ab8ae16909cf0 100644
--- a/content/app/content_main_runner_impl.cc
Expand Down

0 comments on commit 246b9fa

Please sign in to comment.