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

Unified Diff: Source/core/dom/Microtask.h

Issue 14660019: Run Mutation Observer and Custom Element callbacks consistently at microtask checkpoint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
Index: Source/core/dom/Microtask.h
diff --git a/Source/core/loader/UniqueIdentifier.h b/Source/core/dom/Microtask.h
similarity index 89%
copy from Source/core/loader/UniqueIdentifier.h
copy to Source/core/dom/Microtask.h
index c1dc5a2b000338f48b787c9292d80ef1671f5600..4b99bbf487c45930aaa889c1193fd5254a026471 100644
--- a/Source/core/loader/UniqueIdentifier.h
+++ b/Source/core/dom/Microtask.h
@@ -28,14 +28,21 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef UniqueIdentifier_h
-#define UniqueIdentifier_h
+#ifndef Microtask_h
+#define Microtask_h
+
+#include "wtf/Noncopyable.h"
namespace WebCore {
-unsigned long createUniqueIdentifier();
+class Microtask {
+public:
+ static void performCheckpoint();
-}
+private:
+ explicit Microtask();
+};
-#endif // UniqueIdentifier_h
+}
+#endif // Microtask_h

Powered by Google App Engine
This is Rietveld 408576698