Commit ed18cc58 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/fullscreen/*

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

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: Ie21a0b3893a158189f8ae9f7d3f628152c64bbe3
Reviewed-on: https://chromium-review.googlesource.com/813395Reviewed-by: default avatarSasha Morrissey <sashab@chromium.org>
Commit-Queue: Eve Martin-Jones <evem@chromium.org>
Cr-Commit-Position: refs/heads/master@{#522343}
parent 159e6021
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "core/fullscreen/Fullscreen.h" #include "core/fullscreen/Fullscreen.h"
#include "base/macros.h"
#include "core/css/StyleEngine.h" #include "core/css/StyleEngine.h"
#include "core/dom/Document.h" #include "core/dom/Document.h"
#include "core/dom/ElementTraversal.h" #include "core/dom/ElementTraversal.h"
...@@ -193,7 +194,6 @@ bool RequestFullscreenConditionsMet(Element& pending, Document& document) { ...@@ -193,7 +194,6 @@ bool RequestFullscreenConditionsMet(Element& pending, Document& document) {
// deferring changes in |DidEnterFullscreen()|. // deferring changes in |DidEnterFullscreen()|.
class RequestFullscreenScope { class RequestFullscreenScope {
STACK_ALLOCATED(); STACK_ALLOCATED();
WTF_MAKE_NONCOPYABLE(RequestFullscreenScope);
public: public:
RequestFullscreenScope() { RequestFullscreenScope() {
...@@ -210,6 +210,7 @@ class RequestFullscreenScope { ...@@ -210,6 +210,7 @@ class RequestFullscreenScope {
private: private:
static bool running_request_fullscreen_; static bool running_request_fullscreen_;
DISALLOW_COPY_AND_ASSIGN(RequestFullscreenScope);
}; };
bool RequestFullscreenScope::running_request_fullscreen_ = false; bool RequestFullscreenScope::running_request_fullscreen_ = false;
......
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