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

Unified Diff: android_webview/browser/test/rendering_test.cc

Issue 1769913003: sync compositor: Add output_surface_id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unittests compile Created 4 years, 9 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: android_webview/browser/test/rendering_test.cc
diff --git a/android_webview/browser/test/rendering_test.cc b/android_webview/browser/test/rendering_test.cc
index 4f00a205ede7533a4011799b0999324a928211d0..e5bd127394d3f82118b43a9af24cd317d3d9a783 100644
--- a/android_webview/browser/test/rendering_test.cc
+++ b/android_webview/browser/test/rendering_test.cc
@@ -77,7 +77,7 @@ void RenderingTest::SetCompositorFrame() {
gfx::Transform());
frame->render_pass_list.push_back(std::move(root_pass));
compositor_frame->delegated_frame_data = std::move(frame);
- compositor_->SetHardwareFrame(std::move(compositor_frame));
+ compositor_->SetHardwareFrame(1u, std::move(compositor_frame));
hush (inactive) 2016/03/08 23:55:49 can you write a rendering test for context loss ca
boliu 2016/03/09 00:29:59 Tests are coming.. Need to ensure that 1) no old
}
void RenderingTest::WillOnDraw() {

Powered by Google App Engine
This is Rietveld 408576698