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

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

Issue 2873823002: Put PaintInvalidatorContext on the heap, to reduce stack overflows. (Closed)
Patch Set: Merge branch 'master' into fastmallocpaintinvalidator Created 3 years, 7 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 | « no previous file | third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/PaintInvalidator.h
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.h b/third_party/WebKit/Source/core/paint/PaintInvalidator.h
index 8ad1ab1a2da780c5c45958b8172573d77705736f..c3e1cc72dbfad7dddf1637845733cec4e7886081 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.h
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.h
@@ -13,6 +13,9 @@
namespace blink {
struct PaintInvalidatorContext {
+ USING_FAST_MALLOC(PaintInvalidatorContext);
+
+ public:
PaintInvalidatorContext() : parent_context(nullptr) {}
PaintInvalidatorContext(const PaintInvalidatorContext& parent_context)
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698