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

Unified Diff: third_party/WebKit/Source/core/paint/PaintInfo.h

Issue 1387923002: LayoutObject::invalidatePaintIfNeededForSynchronizedPainting() and plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/PaintInfo.h
diff --git a/third_party/WebKit/Source/core/paint/PaintInfo.h b/third_party/WebKit/Source/core/paint/PaintInfo.h
index 9b2f13849e59d7bfe4f08aa7ee4330126e3011d2..21725640e9e82d28a7bab19ff8fa0a64e1fad010 100644
--- a/third_party/WebKit/Source/core/paint/PaintInfo.h
+++ b/third_party/WebKit/Source/core/paint/PaintInfo.h
@@ -55,6 +55,7 @@ struct PaintInfo {
, rect(newRect)
, phase(newPhase)
, paintingRoot(newPaintingRoot)
+ , paintInvalidationState(nullptr)
, m_paintContainer(newPaintContainer)
, m_paintFlags(paintFlags)
, m_globalPaintFlags(globalPaintFlags)
@@ -109,6 +110,8 @@ struct PaintInfo {
IntRect rect; // dirty rect used for culling non-intersecting layoutObjects
PaintPhase phase;
LayoutObject* paintingRoot; // used to draw just one element and its visual kids
+ // TODO(wangxianzhu): Populate it.
+ PaintInvalidationState* paintInvalidationState;
private:
const LayoutBoxModelObject* m_paintContainer; // the box model object that originates the current painting

Powered by Google App Engine
This is Rietveld 408576698