| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014, Google Inc. All rights reserved. | 2 * Copyright (C) 2014, Google 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 1335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1346 | 1346 |
| 1347 void AXObjectCacheImpl::setCanvasObjectBounds(Element* element, const LayoutRect
& rect) | 1347 void AXObjectCacheImpl::setCanvasObjectBounds(Element* element, const LayoutRect
& rect) |
| 1348 { | 1348 { |
| 1349 AXObject* obj = getOrCreate(element); | 1349 AXObject* obj = getOrCreate(element); |
| 1350 if (!obj) | 1350 if (!obj) |
| 1351 return; | 1351 return; |
| 1352 | 1352 |
| 1353 obj->setElementRect(rect); | 1353 obj->setElementRect(rect); |
| 1354 } | 1354 } |
| 1355 | 1355 |
| 1356 unsigned AXObjectCache::numberOfLiveAXObjects() |
| 1357 { |
| 1358 return AXObject::instanceCount(); |
| 1359 } |
| 1360 |
| 1356 } // namespace blink | 1361 } // namespace blink |
| OLD | NEW |