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

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

Issue 2168513005: Reland PaintChunk::id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl try -b win_blink_dbg Created 4 years, 5 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/FramePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/FramePainter.cpp b/third_party/WebKit/Source/core/paint/FramePainter.cpp
index 8ec3b8e4f5b63f30dd0bee718cf2ad45e2c52096..fbe46a7a680b9041d36e48a71ece9f22e68c7c92 100644
--- a/third_party/WebKit/Source/core/paint/FramePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FramePainter.cpp
@@ -54,7 +54,7 @@ void FramePainter::paint(GraphicsContext& context, const GlobalPaintFlags global
properties.transform = transform;
if (clip)
properties.clip = clip;
- scopedPaintChunkProperties.emplace(context.getPaintController(), properties);
+ scopedPaintChunkProperties.emplace(context.getPaintController(), *frameView().layoutView(), properties);
}
}
@@ -78,7 +78,7 @@ void FramePainter::paint(GraphicsContext& context, const GlobalPaintFlags global
if (TransformPaintPropertyNode* transform = m_frameView->preTranslation()) {
PaintChunkProperties properties(context.getPaintController().currentPaintChunkProperties());
properties.transform = transform;
- scopedPaintChunkProperties.emplace(context.getPaintController(), properties);
+ scopedPaintChunkProperties.emplace(context.getPaintController(), *frameView().layoutView(), properties);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxClipper.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698