| Index: third_party/WebKit/Source/core/paint/Transform3DRecorder.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/Transform3DRecorder.cpp b/third_party/WebKit/Source/core/paint/Transform3DRecorder.cpp
|
| index ad1b0d8d021cadeb54e5c14828e47a437b1d413c..48b21a9c4e3de15550b64c90db4b3a7e303d0867 100644
|
| --- a/third_party/WebKit/Source/core/paint/Transform3DRecorder.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/Transform3DRecorder.cpp
|
| @@ -16,6 +16,8 @@ Transform3DRecorder::Transform3DRecorder(GraphicsContext& context,
|
| const TransformationMatrix& transform,
|
| const FloatPoint3D& transformOrigin)
|
| : m_context(context), m_client(client), m_type(type) {
|
| + if (RuntimeEnabledFeatures::slimmingPaintV2Enabled())
|
| + return;
|
| DCHECK(DisplayItem::isTransform3DType(type));
|
| m_skipRecordingForIdentityTransform = transform.isIdentity();
|
|
|
| @@ -27,6 +29,8 @@ Transform3DRecorder::Transform3DRecorder(GraphicsContext& context,
|
| }
|
|
|
| Transform3DRecorder::~Transform3DRecorder() {
|
| + if (RuntimeEnabledFeatures::slimmingPaintV2Enabled())
|
| + return;
|
| if (m_skipRecordingForIdentityTransform)
|
| return;
|
|
|
|
|