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) 1999 Antti Koivisto <koivisto@kde.org> | 3 * Copyright (C) 1999 Antti Koivisto <koivisto@kde.org> |
4 * Copyright (C) 2000 Dirk Mueller <mueller@kde.org> | 4 * Copyright (C) 2000 Dirk Mueller <mueller@kde.org> |
5 * Copyright (C) 2006 Allan Sandfeld Jensen <kde@carewolf.com> | 5 * Copyright (C) 2006 Allan Sandfeld Jensen <kde@carewolf.com> |
6 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 6 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
7 * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
8 * Copyright (C) 2010 Google Inc. All rights reserved. | 8 * Copyright (C) 2010 Google Inc. All rights reserved. |
9 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> | 9 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> |
10 * | 10 * |
(...skipping 10 matching lines...) Expand all Loading... |
21 * You should have received a copy of the GNU Library General Public License | 21 * You should have received a copy of the GNU Library General Public License |
22 * along with this library; see the file COPYING.LIB. If not, write to | 22 * along with this library; see the file COPYING.LIB. If not, write to |
23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
24 * Boston, MA 02110-1301, USA. | 24 * Boston, MA 02110-1301, USA. |
25 * | 25 * |
26 */ | 26 */ |
27 | 27 |
28 #include "core/layout/LayoutImageResourceStyleImage.h" | 28 #include "core/layout/LayoutImageResourceStyleImage.h" |
29 | 29 |
30 #include "core/fetch/ImageResource.h" | 30 #include "core/fetch/ImageResource.h" |
31 #include "core/layout/LayoutObject.h" | |
32 #include "core/style/StyleFetchedImage.h" | 31 #include "core/style/StyleFetchedImage.h" |
33 | 32 |
34 namespace blink { | 33 namespace blink { |
35 | 34 |
36 LayoutImageResourceStyleImage::LayoutImageResourceStyleImage(StyleImage* styleIm
age) | 35 LayoutImageResourceStyleImage::LayoutImageResourceStyleImage(StyleImage* styleIm
age) |
37 : m_styleImage(styleImage) | 36 : m_styleImage(styleImage) |
38 { | 37 { |
39 ASSERT(m_styleImage); | 38 ASSERT(m_styleImage); |
40 } | 39 } |
41 | 40 |
(...skipping 27 matching lines...) Expand all Loading... |
69 return m_styleImage->image(*m_layoutObject, size, zoom); | 68 return m_styleImage->image(*m_layoutObject, size, zoom); |
70 } | 69 } |
71 | 70 |
72 DEFINE_TRACE(LayoutImageResourceStyleImage) | 71 DEFINE_TRACE(LayoutImageResourceStyleImage) |
73 { | 72 { |
74 visitor->trace(m_styleImage); | 73 visitor->trace(m_styleImage); |
75 LayoutImageResource::trace(visitor); | 74 LayoutImageResource::trace(visitor); |
76 } | 75 } |
77 | 76 |
78 } // namespace blink | 77 } // namespace blink |
OLD | NEW |