OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. |
| 3 * All rights reserved. |
3 * | 4 * |
4 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
6 * are met: | 7 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 11 * notice, this list of conditions and the following disclaimer in the |
11 * documentation and/or other materials provided with the distribution. | 12 * documentation and/or other materials provided with the distribution. |
12 * | 13 * |
(...skipping 14 matching lines...) Expand all Loading... |
27 | 28 |
28 #include "core/layout/HitTestLocation.h" | 29 #include "core/layout/HitTestLocation.h" |
29 | 30 |
30 namespace blink { | 31 namespace blink { |
31 | 32 |
32 bool ClipRect::intersects(const HitTestLocation& hitTestLocation) const { | 33 bool ClipRect::intersects(const HitTestLocation& hitTestLocation) const { |
33 return hitTestLocation.intersects(m_rect); | 34 return hitTestLocation.intersects(m_rect); |
34 } | 35 } |
35 | 36 |
36 } // namespace blink | 37 } // namespace blink |
OLD | NEW |