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

Unified Diff: third_party/WebKit/Source/platform/graphics/PaintInvalidationReason.h

Issue 2247543003: Tweak priorities of paint invalidation reasons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: - Created 4 years, 4 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/core/paint/SVGModelObjectPaintInvalidator.cpp ('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/PaintInvalidationReason.h
diff --git a/third_party/WebKit/Source/platform/graphics/PaintInvalidationReason.h b/third_party/WebKit/Source/platform/graphics/PaintInvalidationReason.h
index d998991b305185d4a188290e889ebd2944256906..622dd5f962dc3dc41be5ca27fb476593fab9be95 100644
--- a/third_party/WebKit/Source/platform/graphics/PaintInvalidationReason.h
+++ b/third_party/WebKit/Source/platform/graphics/PaintInvalidationReason.h
@@ -48,6 +48,11 @@ inline bool isFullPaintInvalidationReason(PaintInvalidationReason reason)
return reason >= PaintInvalidationFull;
}
+inline bool isImmediateFullPaintInvalidationReason(PaintInvalidationReason reason)
+{
+ return isFullPaintInvalidationReason(reason) && reason != PaintInvalidationDelayedFull;
+}
+
} // namespace blink
#endif // PaintInvalidationReason_h
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGModelObjectPaintInvalidator.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698