| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. 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 copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 111 |
| 112 LayoutObject* layoutObject; | 112 LayoutObject* layoutObject; |
| 113 if (m_parent && m_parent->isAXLayoutObject()) | 113 if (m_parent && m_parent->isAXLayoutObject()) |
| 114 layoutObject = toAXLayoutObject(m_parent)->getLayoutObject(); | 114 layoutObject = toAXLayoutObject(m_parent)->getLayoutObject(); |
| 115 else | 115 else |
| 116 layoutObject = map->layoutObject(); | 116 layoutObject = map->layoutObject(); |
| 117 | 117 |
| 118 if (!layoutObject) | 118 if (!layoutObject) |
| 119 return LayoutRect(); | 119 return LayoutRect(); |
| 120 | 120 |
| 121 return area->computeRect(layoutObject); | 121 return area->computeAbsoluteRect(layoutObject); |
| 122 } | 122 } |
| 123 | 123 |
| 124 DEFINE_TRACE(AXImageMapLink) | 124 DEFINE_TRACE(AXImageMapLink) |
| 125 { | 125 { |
| 126 AXNodeObject::trace(visitor); | 126 AXNodeObject::trace(visitor); |
| 127 } | 127 } |
| 128 | 128 |
| 129 } // namespace blink | 129 } // namespace blink |
| OLD | NEW |