| Index: third_party/WebKit/Source/core/paint/TransformRecorder.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/TransformRecorder.cpp b/third_party/WebKit/Source/core/paint/TransformRecorder.cpp
|
| index 7afe4684a7ddd7b0916bb145602719dcc4fcac87..a6950cebbef4647c9079effde6feb77cbd96af5e 100644
|
| --- a/third_party/WebKit/Source/core/paint/TransformRecorder.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/TransformRecorder.cpp
|
| @@ -14,6 +14,8 @@ TransformRecorder::TransformRecorder(GraphicsContext& context,
|
| const DisplayItemClient& client,
|
| const AffineTransform& transform)
|
| : m_context(context), m_client(client) {
|
| + if (RuntimeEnabledFeatures::slimmingPaintV2Enabled())
|
| + return;
|
| m_skipRecordingForIdentityTransform = transform.isIdentity();
|
|
|
| if (m_skipRecordingForIdentityTransform)
|
| @@ -24,6 +26,8 @@ TransformRecorder::TransformRecorder(GraphicsContext& context,
|
| }
|
|
|
| TransformRecorder::~TransformRecorder() {
|
| + if (RuntimeEnabledFeatures::slimmingPaintV2Enabled())
|
| + return;
|
| if (m_skipRecordingForIdentityTransform)
|
| return;
|
|
|
|
|