OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/html/HTMLPictureElement.h" | 5 #include "core/html/HTMLPictureElement.h" |
6 | 6 |
7 #include "core/HTMLNames.h" | 7 #include "core/HTMLNames.h" |
8 #include "core/dom/ElementTraversal.h" | 8 #include "core/dom/ElementTraversal.h" |
9 #include "core/frame/UseCounter.h" | 9 #include "core/frame/UseCounter.h" |
10 #include "core/html/HTMLImageElement.h" | 10 #include "core/html/HTMLImageElement.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 imageElement->selectSourceURL(ImageLoader::UpdateNormal); | 27 imageElement->selectSourceURL(ImageLoader::UpdateNormal); |
28 } | 28 } |
29 } | 29 } |
30 | 30 |
31 Node::InsertionNotificationRequest HTMLPictureElement::insertedInto(ContainerNod
e* insertionPoint) | 31 Node::InsertionNotificationRequest HTMLPictureElement::insertedInto(ContainerNod
e* insertionPoint) |
32 { | 32 { |
33 UseCounter::count(document(), UseCounter::Picture); | 33 UseCounter::count(document(), UseCounter::Picture); |
34 return HTMLElement::insertedInto(insertionPoint); | 34 return HTMLElement::insertedInto(insertionPoint); |
35 } | 35 } |
36 | 36 |
37 } // namespace | 37 } // namespace blink |
OLD | NEW |