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

Unified Diff: third_party/WebKit/Source/core/paint/Transform3DRecorder.cpp

Issue 2789533003: [SPv2] Stop recording paired display items (except for subsequence markers) (Closed)
Patch Set: none Created 3 years, 9 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/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;
« no previous file with comments | « third_party/WebKit/Source/core/paint/ScrollRecorder.cpp ('k') | third_party/WebKit/Source/core/paint/TransformRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698