| Index: third_party/WebKit/Source/core/layout/api/LayoutMediaItem.h
|
| diff --git a/third_party/WebKit/Source/core/layout/api/LayoutMediaItem.h b/third_party/WebKit/Source/core/layout/api/LayoutMediaItem.h
|
| deleted file mode 100644
|
| index ce71062f1dc79f5092ae158914c60c46dae5ebf8..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/core/layout/api/LayoutMediaItem.h
|
| +++ /dev/null
|
| @@ -1,38 +0,0 @@
|
| -// Copyright 2016 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef LayoutMediaItem_h
|
| -#define LayoutMediaItem_h
|
| -
|
| -#include "core/layout/LayoutMedia.h"
|
| -#include "core/layout/api/LayoutImageItem.h"
|
| -
|
| -namespace blink {
|
| -
|
| -class LayoutMediaItem : public LayoutImageItem {
|
| - public:
|
| - explicit LayoutMediaItem(LayoutMedia* layoutMedia)
|
| - : LayoutImageItem(layoutMedia) {}
|
| -
|
| - explicit LayoutMediaItem(const LayoutItem& item) : LayoutImageItem(item) {
|
| - SECURITY_DCHECK(!item || item.isMedia());
|
| - }
|
| -
|
| - explicit LayoutMediaItem(std::nullptr_t) : LayoutImageItem(nullptr) {}
|
| -
|
| - LayoutMediaItem() {}
|
| -
|
| - void setRequestPositionUpdates(bool want) {
|
| - return toMedia()->setRequestPositionUpdates(want);
|
| - }
|
| -
|
| - private:
|
| - LayoutMedia* toMedia() { return toLayoutMedia(layoutObject()); }
|
| -
|
| - const LayoutMedia* toMedia() const { return toLayoutMedia(layoutObject()); }
|
| -};
|
| -
|
| -} // namespace blink
|
| -
|
| -#endif // LayoutMediaItem_h
|
|
|