Index: third_party/WebKit/public/platform/WebContentLayer.h |
diff --git a/third_party/WebKit/public/platform/WebContentLayer.h b/third_party/WebKit/public/platform/WebContentLayer.h |
index 5cec2c048f471a9dc667284de2495d736cc7ed8d..17ad4a350a4696455835fa4cd3195fe610953b60 100644 |
--- a/third_party/WebKit/public/platform/WebContentLayer.h |
+++ b/third_party/WebKit/public/platform/WebContentLayer.h |
@@ -37,6 +37,12 @@ class WebContentLayer { |
// The WebContentLayer has ownership of this wrapper. |
virtual WebLayer* layer() = 0; |
+ |
+ // Normally content layers are rasterized in a space with both axis and |
+ // origin aligned to local layer space, optionally with a uniform scale. |
+ // With this flag set to true, the compositor may raster contents in any |
+ // space, e.g. device pixel space. |
+ virtual void setAllowTransformedRasterization(bool) = 0; |
}; |
} // namespace blink |