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

Unified Diff: Source/core/xmlhttprequest/XMLHttpRequest.h

Issue 1237063002: Allocate XMLHttpRequest on the eagerly finalized heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add macro for testing eager finalization Created 5 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
« no previous file with comments | « no previous file | Source/core/xmlhttprequest/XMLHttpRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xmlhttprequest/XMLHttpRequest.h
diff --git a/Source/core/xmlhttprequest/XMLHttpRequest.h b/Source/core/xmlhttprequest/XMLHttpRequest.h
index 5dae98a154174bf0a60c95015ccd04b57b1ac9b1..dfe0b31ce9f1fd73e40d9df610763a4b57e70564 100644
--- a/Source/core/xmlhttprequest/XMLHttpRequest.h
+++ b/Source/core/xmlhttprequest/XMLHttpRequest.h
@@ -140,6 +140,12 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(readystatechange);
+ // (Also) eagerly finalized so as to prevent access to the eagerly finalized
+ // progress event throttle.
+ EAGERLY_FINALIZE();
+#if !ENABLE(OILPAN)
+ DECLARE_EAGER_FINALIZATION_OPERATOR_NEW();
+#endif
DECLARE_VIRTUAL_TRACE();
private:
« no previous file with comments | « no previous file | Source/core/xmlhttprequest/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698