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

Unified Diff: android_webview/browser/surfaces_instance.cc

Issue 2543473004: cc: Move filters from RenderPassDrawQuad to RenderPass (Closed)
Patch Set: Rebase again 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') | no next file with comments »
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 4460c59adfb63e93d99ce90380cbed4851996a2b..7e3324f38de47148a2dd75bf8b96e9b6ef353f27 100644
--- a/android_webview/browser/surfaces_instance.cc
+++ b/android_webview/browser/surfaces_instance.cc
@@ -112,7 +112,8 @@ 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(1, gfx::Rect(viewport), clip, gfx::Transform(), false);
+ render_pass->SetNew(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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698