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

Unified Diff: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.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
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 64460cec509b0811adbb79c02ec269fbf98195fe..595ebbc1e182acc61d4143b6bf93040d9ee0182c 100644
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
@@ -672,7 +672,8 @@ void PaintArtifactCompositor::collectPendingLayers(
void PaintArtifactCompositor::update(
const PaintArtifact& paintArtifact,
RasterInvalidationTrackingMap<const PaintChunk>* rasterChunkInvalidations,
- bool storeDebugInfo) {
+ bool storeDebugInfo,
+ GeometryMapper& geometryMapper) {
#ifndef NDEBUG
storeDebugInfo = true;
#endif
@@ -697,7 +698,6 @@ void PaintArtifactCompositor::update(
m_rootLayer.get());
Vector<PendingLayer, 0> pendingLayers;
- GeometryMapper geometryMapper;
collectPendingLayers(paintArtifact, pendingLayers, geometryMapper);
Vector<std::unique_ptr<ContentLayerClientImpl>> newContentLayerClients;

Powered by Google App Engine
This is Rietveld 408576698