OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef StyleInvalidImage_h | 5 #ifndef StyleInvalidImage_h |
6 #define StyleInvalidImage_h | 6 #define StyleInvalidImage_h |
7 | 7 |
8 #include "core/css/CSSImageValue.h" | 8 #include "core/css/CSSImageValue.h" |
9 #include "core/style/StyleImage.h" | 9 #include "core/style/StyleImage.h" |
10 | 10 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 : m_url(url) | 46 : m_url(url) |
47 { | 47 { |
48 m_isInvalidImage = true; | 48 m_isInvalidImage = true; |
49 } | 49 } |
50 | 50 |
51 String m_url; | 51 String m_url; |
52 }; | 52 }; |
53 | 53 |
54 DEFINE_STYLE_IMAGE_TYPE_CASTS(StyleInvalidImage, isInvalidImage()); | 54 DEFINE_STYLE_IMAGE_TYPE_CASTS(StyleInvalidImage, isInvalidImage()); |
55 | 55 |
56 } | 56 } // namespace blink |
57 #endif | 57 #endif |
OLD | NEW |