| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2013 Apple Inc. All rights | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2013 Apple Inc. All rights |
| 6 * reserved. | 6 * reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 image_slices(Length(100, kPercent), | 62 image_slices(Length(100, kPercent), |
| 63 Length(100, kPercent), | 63 Length(100, kPercent), |
| 64 Length(100, kPercent), | 64 Length(100, kPercent), |
| 65 Length(100, kPercent)), | 65 Length(100, kPercent)), |
| 66 border_slices(1.0, 1.0, 1.0, 1.0), | 66 border_slices(1.0, 1.0, 1.0, 1.0), |
| 67 outset(Length(0, kFixed), | 67 outset(Length(0, kFixed), |
| 68 Length(0, kFixed), | 68 Length(0, kFixed), |
| 69 Length(0, kFixed), | 69 Length(0, kFixed), |
| 70 Length(0, kFixed)) {} | 70 Length(0, kFixed)) {} |
| 71 | 71 |
| 72 NinePieceImageData::NinePieceImageData(const NinePieceImageData& other) | |
| 73 : RefCounted<NinePieceImageData>(), | |
| 74 fill(other.fill), | |
| 75 horizontal_rule(other.horizontal_rule), | |
| 76 vertical_rule(other.vertical_rule), | |
| 77 image(other.image), | |
| 78 image_slices(other.image_slices), | |
| 79 border_slices(other.border_slices), | |
| 80 outset(other.outset) {} | |
| 81 | |
| 82 bool NinePieceImageData::operator==(const NinePieceImageData& other) const { | 72 bool NinePieceImageData::operator==(const NinePieceImageData& other) const { |
| 83 return DataEquivalent(image, other.image) && | 73 return DataEquivalent(image, other.image) && |
| 84 image_slices == other.image_slices && fill == other.fill && | 74 image_slices == other.image_slices && fill == other.fill && |
| 85 border_slices == other.border_slices && outset == other.outset && | 75 border_slices == other.border_slices && outset == other.outset && |
| 86 horizontal_rule == other.horizontal_rule && | 76 horizontal_rule == other.horizontal_rule && |
| 87 vertical_rule == other.vertical_rule; | 77 vertical_rule == other.vertical_rule; |
| 88 } | 78 } |
| 89 | 79 |
| 90 } // namespace blink | 80 } // namespace blink |
| OLD | NEW |