| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
| 9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
| 10 * disclaimer. | 10 * disclaimer. |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 switch (type()) { | 104 switch (type()) { |
| 105 case Shape: | 105 case Shape: |
| 106 return dataEquivalent(shape(), other.shape()) && | 106 return dataEquivalent(shape(), other.shape()) && |
| 107 cssBox() == other.cssBox(); | 107 cssBox() == other.cssBox(); |
| 108 case Box: | 108 case Box: |
| 109 return cssBox() == other.cssBox(); | 109 return cssBox() == other.cssBox(); |
| 110 case Image: | 110 case Image: |
| 111 return dataEquivalent(image(), other.image()); | 111 return dataEquivalent(image(), other.image()); |
| 112 } | 112 } |
| 113 | 113 |
| 114 ASSERT_NOT_REACHED(); | 114 NOTREACHED(); |
| 115 return false; | 115 return false; |
| 116 } | 116 } |
| 117 | 117 |
| 118 } // namespace blink | 118 } // namespace blink |
| 119 | 119 |
| 120 #endif | 120 #endif |
| OLD | NEW |