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

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

Issue 270383002: Remove will-change: contents GPU rasterization hint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: Source/platform/graphics/GraphicsLayer.cpp
diff --git a/Source/platform/graphics/GraphicsLayer.cpp b/Source/platform/graphics/GraphicsLayer.cpp
index 531be04c6bf40c87e3381d2c1c4fca588a6a718e..89abec0b56dec1e650cb5eb7f00b78d4a5ee0b15 100644
--- a/Source/platform/graphics/GraphicsLayer.cpp
+++ b/Source/platform/graphics/GraphicsLayer.cpp
@@ -89,7 +89,6 @@ GraphicsLayer::GraphicsLayer(GraphicsLayerClient* client)
, m_drawsContent(false)
, m_contentsVisible(true)
, m_isRootForIsolatedGroup(false)
- , m_hasGpuRasterizationHint(false)
, m_hasScrollParent(false)
, m_hasClipParent(false)
, m_paintingPhase(GraphicsLayerPaintAllWithOverflowClip)
@@ -608,11 +607,6 @@ void GraphicsLayer::dumpProperties(TextStream& ts, int indent, LayerTreeFlags fl
ts << "(contentsVisible " << m_contentsVisible << ")\n";
}
- if (m_hasGpuRasterizationHint) {
- writeIndent(ts, indent + 1);
- ts << "(hasGpuRasterizationHint " << m_hasGpuRasterizationHint << ")\n";
- }
-
if (!m_backfaceVisibility) {
writeIndent(ts, indent + 1);
ts << "(backfaceVisibility " << (m_backfaceVisibility ? "visible" : "hidden") << ")\n";
@@ -952,12 +946,6 @@ void GraphicsLayer::setIsRootForIsolatedGroup(bool isolated)
platformLayer()->setIsRootForIsolatedGroup(isolated);
}
-void GraphicsLayer::setHasGpuRasterizationHint(bool hasHint)
-{
- m_hasGpuRasterizationHint = hasHint;
- m_layer->setHasGpuRasterizationHint(hasHint);
-}
-
void GraphicsLayer::setContentsNeedsDisplay()
{
if (WebLayer* contentsLayer = contentsLayerIfRegistered()) {

Powered by Google App Engine
This is Rietveld 408576698