| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2003, 2006, 2009, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2003, 2006, 2009, 2012 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 #include "config.h" | 22 #include "config.h" |
| 23 #include "core/layout/LayoutApplet.h" | 23 #include "core/layout/LayoutApplet.h" |
| 24 | 24 |
| 25 #include "core/frame/UseCounter.h" | 25 #include "core/frame/UseCounter.h" |
| 26 #include "core/html/HTMLAppletElement.h" | 26 #include "core/html/HTMLAppletElement.h" |
| 27 | 27 |
| 28 namespace blink { | 28 namespace blink { |
| 29 | 29 |
| 30 LayoutApplet::LayoutApplet(HTMLAppletElement* applet) | 30 LayoutApplet::LayoutApplet(HTMLAppletElement* applet) |
| 31 : RenderEmbeddedObject(applet) | 31 : LayoutEmbeddedObject(applet) |
| 32 { | 32 { |
| 33 setInline(true); | 33 setInline(true); |
| 34 UseCounter::count(document(), UseCounter::HTMLAppletElement); | 34 UseCounter::count(document(), UseCounter::HTMLAppletElement); |
| 35 } | 35 } |
| 36 | 36 |
| 37 LayoutApplet::~LayoutApplet() | 37 LayoutApplet::~LayoutApplet() |
| 38 { | 38 { |
| 39 } | 39 } |
| 40 | 40 |
| 41 } // namespace blink | 41 } // namespace blink |
| OLD | NEW |