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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementReactionTestHelpers.h

Issue 2023093003: Upgrade in-document custom elements when an element is defined. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses feedback. Created 4 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: third_party/WebKit/Source/core/dom/custom/CustomElementReactionTestHelpers.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementReactionTestHelpers.h b/third_party/WebKit/Source/core/dom/custom/CustomElementReactionTestHelpers.h
index 3ab89c48b5e0c45cf43ffcd86a2e1b77cea7bd9e..8cf7f522332f323ab2f493777abd5b53250409e8 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementReactionTestHelpers.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementReactionTestHelpers.h
@@ -6,7 +6,6 @@
#include "core/dom/custom/CustomElementReactionQueue.h"
#include "platform/heap/Handle.h"
-#include "wtf/Noncopyable.h"
#include <initializer_list>
#include <vector>
@@ -15,7 +14,7 @@ namespace blink {
class Element;
class Command : public GarbageCollectedFinalized<Command> {
- WTF_MAKE_NONCOPYABLE(Command);
+ DISALLOW_COPY_AND_ASSIGN(Command);
public:
Command() { }
virtual ~Command() { }
@@ -24,7 +23,7 @@ public:
};
class Log : public Command {
- WTF_MAKE_NONCOPYABLE(Log);
+ DISALLOW_COPY_AND_ASSIGN(Log);
public:
Log(char what, std::vector<char>& where) : m_what(what), m_where(where) { }
virtual ~Log() { }
@@ -35,7 +34,7 @@ private:
};
class Recurse : public Command {
- WTF_MAKE_NONCOPYABLE(Recurse);
+ DISALLOW_COPY_AND_ASSIGN(Recurse);
public:
Recurse(CustomElementReactionQueue* queue) : m_queue(queue) { }
virtual ~Recurse() { }
@@ -50,7 +49,7 @@ private:
};
class Enqueue : public Command {
- WTF_MAKE_NONCOPYABLE(Enqueue);
+ DISALLOW_COPY_AND_ASSIGN(Enqueue);
public:
Enqueue(CustomElementReactionQueue* queue, CustomElementReaction* reaction)
: m_queue(queue)
@@ -74,7 +73,7 @@ private:
};
class TestReaction : public CustomElementReaction {
- WTF_MAKE_NONCOPYABLE(TestReaction);
+ DISALLOW_COPY_AND_ASSIGN(TestReaction);
public:
TestReaction(std::initializer_list<Command*> commands)
{

Powered by Google App Engine
This is Rietveld 408576698