summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/svg/svg_element.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/svg/svg_element.h')
-rw-r--r--chromium/third_party/blink/renderer/core/svg/svg_element.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/core/svg/svg_element.h b/chromium/third_party/blink/renderer/core/svg/svg_element.h
index 2171cb9aed5..dfc9919e22a 100644
--- a/chromium/third_party/blink/renderer/core/svg/svg_element.h
+++ b/chromium/third_party/blink/renderer/core/svg/svg_element.h
@@ -23,7 +23,6 @@
#define THIRD_PARTY_BLINK_RENDERER_CORE_SVG_SVG_ELEMENT_H_
#include "base/dcheck_is_on.h"
-#include "base/macros.h"
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/events/simulated_click_options.h"
@@ -201,11 +200,12 @@ class CORE_EXPORT SVGElement : public Element {
public:
InvalidationGuard(SVGElement* element) : element_(element) {}
+ InvalidationGuard(const InvalidationGuard&) = delete;
+ InvalidationGuard& operator=(const InvalidationGuard&) = delete;
~InvalidationGuard() { element_->InvalidateInstances(); }
private:
SVGElement* element_;
- DISALLOW_COPY_AND_ASSIGN(InvalidationGuard);
};
class InstanceUpdateBlocker {
@@ -213,11 +213,12 @@ class CORE_EXPORT SVGElement : public Element {
public:
InstanceUpdateBlocker(SVGElement* target_element);
+ InstanceUpdateBlocker(const InstanceUpdateBlocker&) = delete;
+ InstanceUpdateBlocker& operator=(const InstanceUpdateBlocker&) = delete;
~InstanceUpdateBlocker();
private:
SVGElement* target_element_;
- DISALLOW_COPY_AND_ASSIGN(InstanceUpdateBlocker);
};
void InvalidateInstances();