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