| Index: sky/engine/core/html/HTMLPictureElement.cpp
|
| diff --git a/sky/engine/core/html/HTMLPictureElement.cpp b/sky/engine/core/html/HTMLPictureElement.cpp
|
| deleted file mode 100644
|
| index f4f2e55d811955c09f7646af0a9a06ba20e90c8c..0000000000000000000000000000000000000000
|
| --- a/sky/engine/core/html/HTMLPictureElement.cpp
|
| +++ /dev/null
|
| @@ -1,37 +0,0 @@
|
| -// Copyright 2014 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.
|
| -
|
| -#include "config.h"
|
| -#include "core/html/HTMLPictureElement.h"
|
| -
|
| -#include "core/HTMLNames.h"
|
| -#include "core/dom/ElementTraversal.h"
|
| -#include "core/frame/UseCounter.h"
|
| -#include "core/html/HTMLImageElement.h"
|
| -#include "core/loader/ImageLoader.h"
|
| -
|
| -namespace blink {
|
| -
|
| -inline HTMLPictureElement::HTMLPictureElement(Document& document)
|
| - : HTMLElement(HTMLNames::pictureTag, document)
|
| -{
|
| - ScriptWrappable::init(this);
|
| -}
|
| -
|
| -DEFINE_NODE_FACTORY(HTMLPictureElement)
|
| -
|
| -void HTMLPictureElement::sourceOrMediaChanged()
|
| -{
|
| - for (HTMLImageElement* imageElement = Traversal<HTMLImageElement>::firstChild(*this); imageElement; imageElement = Traversal<HTMLImageElement>::nextSibling(*imageElement)) {
|
| - imageElement->selectSourceURL(ImageLoader::UpdateNormal);
|
| - }
|
| -}
|
| -
|
| -Node::InsertionNotificationRequest HTMLPictureElement::insertedInto(ContainerNode* insertionPoint)
|
| -{
|
| - UseCounter::count(document(), UseCounter::Picture);
|
| - return HTMLElement::insertedInto(insertionPoint);
|
| -}
|
| -
|
| -} // namespace
|
|
|