Commit a1c45562 authored by Eve Martin-Jones's avatar Eve Martin-Jones Committed by Commit Bot

Replace WTF_MAKE_NONCOPYABLE with DISALLOW_COPY_AND_ASSIGN in core/intersection_observer/

This change is for files in the path
//third_party/WebKit/Source/core/intersection_observer/.

Added the include for base/macros.h where needed and moved the macro to the
end of the class as per the code guidelines enforced by lint.

This CL introduces no logic changes.

Bug: 565932
Change-Id: I2bb5d2856d322a761ee810b0e573a0880c0a2b25
Reviewed-on: https://chromium-review.googlesource.com/813354Reviewed-by: default avatarSasha Morrissey <sashab@chromium.org>
Commit-Queue: Eve Martin-Jones <evem@chromium.org>
Cr-Commit-Position: refs/heads/master@{#522331}
parent 40af00b0
......@@ -5,6 +5,7 @@
#include "core/intersection_observer/IntersectionObserver.h"
#include <algorithm>
#include "base/macros.h"
#include "bindings/core/v8/ExceptionState.h"
#include "bindings/core/v8/V8IntersectionObserverDelegate.h"
#include "bindings/core/v8/v8_intersection_observer_callback.h"
......@@ -35,7 +36,6 @@ namespace {
// IntersectionObserver with an EventCallback.
class IntersectionObserverDelegateImpl final
: public IntersectionObserverDelegate {
WTF_MAKE_NONCOPYABLE(IntersectionObserverDelegateImpl);
public:
IntersectionObserverDelegateImpl(ExecutionContext* context,
......@@ -57,6 +57,7 @@ class IntersectionObserverDelegateImpl final
private:
WeakMember<ExecutionContext> context_;
IntersectionObserver::EventCallback callback_;
DISALLOW_COPY_AND_ASSIGN(IntersectionObserverDelegateImpl);
};
void ParseRootMargin(String root_margin_parameter,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment