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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp

Issue 2653433002: Share GeometryMapper cache between pre-paint and compositing. (Closed)
Patch Set: none Created 3 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp b/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp
index cc7854111ea84efcb9a12934c3138dadf4c2f528..f1152386d922c205c134e28a2a6205bf1992d839 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp
@@ -283,6 +283,10 @@ const TransformationMatrix& GeometryMapper::localToAncestorMatrixInternal(
return precomputedData.toAncestorTransforms.find(localTransformNode)->value;
}
+void GeometryMapper::clearCache() {
+ m_data.clear();
+}
+
namespace {
template <typename NodeType>
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698