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

Unified Diff: cc/blink/web_content_layer_impl.cc

Issue 2559413002: [1/5] Pass transformed rasterization policy from Blink (Closed)
Patch Set: 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
Index: cc/blink/web_content_layer_impl.cc
diff --git a/cc/blink/web_content_layer_impl.cc b/cc/blink/web_content_layer_impl.cc
index b941e1ab315cc137b593b1fcf5f85579dfe7550b..abf4a4ad8b0d7f80339424e2c4febc2c6cdd4d13 100644
--- a/cc/blink/web_content_layer_impl.cc
+++ b/cc/blink/web_content_layer_impl.cc
@@ -66,6 +66,10 @@ blink::WebLayer* WebContentLayerImpl::layer() {
return layer_.get();
}
+void WebContentLayerImpl::setAllowTransformedRasterization(bool allowed) {
+ static_cast<PictureLayer*>(layer_->layer())->SetAllowTransformedRasterization(allowed);
+}
+
gfx::Rect WebContentLayerImpl::PaintableRegion() {
return client_->paintableRegion();
}

Powered by Google App Engine
This is Rietveld 408576698