Index: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp |
index 117c4c7c53f3ad97ee9a7f5c5c912514bf8d98d9..c9a0e69c05f59789890c5154bd42f6daa534e45c 100644 |
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp |
@@ -454,9 +454,6 @@ class PropertyTreeManager { |
void PropertyTreeManager::setDeviceScaleFactor(float deviceScaleFactor) { |
auto& rootTransformNode = *transformTree().Node(kRealRootNodeId); |
- rootTransformNode.needs_surface_contents_scale = true; |
- rootTransformNode.surface_contents_scale = |
- gfx::Vector2dF(deviceScaleFactor, deviceScaleFactor); |
// TODO(jaydasika) : We shouldn't set ToScreen and FromScreen of root |
// transform node here. They should be set while updating transform tree in |
// cc. |