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

Unified Diff: content/test/web_layer_tree_view_impl_for_testing.cc

Issue 1385043002: cc: Remove SetLayerTreeHostClientReady() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@startcomp
Patch Set: sky's offline comment Created 5 years, 2 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
« no previous file with comments | « content/renderer/render_widget.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/web_layer_tree_view_impl_for_testing.cc
diff --git a/content/test/web_layer_tree_view_impl_for_testing.cc b/content/test/web_layer_tree_view_impl_for_testing.cc
index 86b1fa4b6b2570662a165fce6372c255d6f1e03a..45a4a2883e858c5daa525d63940117d946d457ed 100644
--- a/content/test/web_layer_tree_view_impl_for_testing.cc
+++ b/content/test/web_layer_tree_view_impl_for_testing.cc
@@ -127,10 +127,11 @@ void WebLayerTreeViewImplForTesting::ApplyViewportDeltas(
}
void WebLayerTreeViewImplForTesting::RequestNewOutputSurface() {
- bool flipped_output_surface = false;
- layer_tree_host_->SetOutputSurface(
- make_scoped_ptr(new cc::PixelTestOutputSurface(
- cc::TestContextProvider::Create(), flipped_output_surface)));
+ // TODO(crbug.com/540026): Fix crashes with real OutputSurface
+ // bool flipped_output_surface = false;
+ // layer_tree_host_->SetOutputSurface(
+ // make_scoped_ptr(new cc::PixelTestOutputSurface(
+ // cc::TestContextProvider::Create(), flipped_output_surface)));
}
void WebLayerTreeViewImplForTesting::DidFailToInitializeOutputSurface() {
« no previous file with comments | « content/renderer/render_widget.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698