| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright (C) 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 return AffineTransform(1, 0, 0, -1, 0, h); | 46 return AffineTransform(1, 0, 0, -1, 0, h); |
| 47 case OriginLeftTop: | 47 case OriginLeftTop: |
| 48 return AffineTransform(0, 1, 1, 0, 0, 0); | 48 return AffineTransform(0, 1, 1, 0, 0, 0); |
| 49 case OriginRightTop: | 49 case OriginRightTop: |
| 50 return AffineTransform(0, 1, -1, 0, w, 0); | 50 return AffineTransform(0, 1, -1, 0, w, 0); |
| 51 case OriginRightBottom: | 51 case OriginRightBottom: |
| 52 return AffineTransform(0, -1, -1, 0, w, h); | 52 return AffineTransform(0, -1, -1, 0, w, h); |
| 53 case OriginLeftBottom: | 53 case OriginLeftBottom: |
| 54 return AffineTransform(0, -1, 1, 0, 0, h); | 54 return AffineTransform(0, -1, 1, 0, 0, h); |
| 55 default: | 55 default: |
| 56 ASSERT_NOT_REACHED(); | 56 NOTREACHED(); |
| 57 } | 57 } |
| 58 | 58 |
| 59 ASSERT_NOT_REACHED(); | 59 NOTREACHED(); |
| 60 return AffineTransform(); | 60 return AffineTransform(); |
| 61 } | 61 } |
| 62 | 62 |
| 63 } // namespace blink | 63 } // namespace blink |
| OLD | NEW |