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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp

Issue 1946403003: Add fixed raster scale use counter histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+fix Created 4 years, 7 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: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
index 945e8f9e67a0ca268fb512359f71b68bec038724..a95334c4641afdfbdad83a6da2c60e3f72df8c38 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
@@ -164,6 +164,11 @@ LayoutRect GraphicsLayer::visualRect() const
return bounds;
}
+void GraphicsLayer::setHasWillChangeTransformHint(bool hasWillChangeTransform)
+{
+ m_layer->layer()->setHasWillChangeTransformHint(hasWillChangeTransform);
+}
+
void GraphicsLayer::setDrawDebugRedFillForTesting(bool enabled)
{
s_drawDebugRedFill = enabled;

Powered by Google App Engine
This is Rietveld 408576698