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

Unified Diff: android_webview/browser/surfaces_instance.cc

Issue 2543473004: cc: Move filters from RenderPassDrawQuad to RenderPass (Closed)
Patch Set: Address review comments Created 4 years 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 | « no previous file | cc/ipc/cc_param_traits.cc » ('j') | cc/ipc/cc_param_traits.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/surfaces_instance.cc
diff --git a/android_webview/browser/surfaces_instance.cc b/android_webview/browser/surfaces_instance.cc
index 2803531ca5e4871dfef9bd99701f761888896aa7..6b7b1baa872490c710fd8db9127ed2232152485e 100644
--- a/android_webview/browser/surfaces_instance.cc
+++ b/android_webview/browser/surfaces_instance.cc
@@ -115,8 +115,9 @@ void SurfacesInstance::DrawAndSwap(const gfx::Size& viewport,
// Create a frame with a single SurfaceDrawQuad referencing the child
// Surface and transformed using the given transform.
std::unique_ptr<cc::RenderPass> render_pass = cc::RenderPass::Create();
- render_pass->SetAll(cc::RenderPassId(1, 1), gfx::Rect(viewport), clip,
- gfx::Transform(), false);
+ render_pass->SetNew(cc::RenderPassId(1, 1), gfx::Rect(viewport), clip,
+ gfx::Transform());
+ render_pass->has_transparent_background = false;
cc::SharedQuadState* quad_state =
render_pass->CreateAndAppendSharedQuadState();
« no previous file with comments | « no previous file | cc/ipc/cc_param_traits.cc » ('j') | cc/ipc/cc_param_traits.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698