| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 8 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 8 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 result.append(marker->renderedRect()); | 471 result.append(marker->renderedRect()); |
| 472 } | 472 } |
| 473 } | 473 } |
| 474 } | 474 } |
| 475 | 475 |
| 476 return result; | 476 return result; |
| 477 } | 477 } |
| 478 | 478 |
| 479 void DocumentMarkerController::trace(Visitor* visitor) | 479 void DocumentMarkerController::trace(Visitor* visitor) |
| 480 { | 480 { |
| 481 #if ENABLE(OILPAN) |
| 481 visitor->trace(m_markers); | 482 visitor->trace(m_markers); |
| 483 #endif |
| 482 } | 484 } |
| 483 | 485 |
| 484 void DocumentMarkerController::removeMarkers(Node* node, DocumentMarker::MarkerT
ypes markerTypes) | 486 void DocumentMarkerController::removeMarkers(Node* node, DocumentMarker::MarkerT
ypes markerTypes) |
| 485 { | 487 { |
| 486 if (!possiblyHasMarkers(markerTypes)) | 488 if (!possiblyHasMarkers(markerTypes)) |
| 487 return; | 489 return; |
| 488 ASSERT(!m_markers.isEmpty()); | 490 ASSERT(!m_markers.isEmpty()); |
| 489 | 491 |
| 490 MarkerMap::iterator iterator = m_markers.find(node); | 492 MarkerMap::iterator iterator = m_markers.find(node); |
| 491 if (iterator != m_markers.end()) | 493 if (iterator != m_markers.end()) |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 | 729 |
| 728 } // namespace blink | 730 } // namespace blink |
| 729 | 731 |
| 730 #ifndef NDEBUG | 732 #ifndef NDEBUG |
| 731 void showDocumentMarkers(const blink::DocumentMarkerController* controller) | 733 void showDocumentMarkers(const blink::DocumentMarkerController* controller) |
| 732 { | 734 { |
| 733 if (controller) | 735 if (controller) |
| 734 controller->showMarkers(); | 736 controller->showMarkers(); |
| 735 } | 737 } |
| 736 #endif | 738 #endif |
| OLD | NEW |