Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Side by Side Diff: sky/engine/core/dom/DocumentMarkerController.cpp

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 if (!marker->isRendered()) 484 if (!marker->isRendered())
485 continue; 485 continue;
486 result.append(marker->renderedRect()); 486 result.append(marker->renderedRect());
487 } 487 }
488 } 488 }
489 } 489 }
490 490
491 return result; 491 return result;
492 } 492 }
493 493
494 void DocumentMarkerController::trace(Visitor* visitor)
495 {
496 #if ENABLE(OILPAN)
497 visitor->trace(m_markers);
498 #endif
499 }
500
501 void DocumentMarkerController::removeMarkers(Node* node, DocumentMarker::MarkerT ypes markerTypes) 494 void DocumentMarkerController::removeMarkers(Node* node, DocumentMarker::MarkerT ypes markerTypes)
502 { 495 {
503 if (!possiblyHasMarkers(markerTypes)) 496 if (!possiblyHasMarkers(markerTypes))
504 return; 497 return;
505 ASSERT(!m_markers.isEmpty()); 498 ASSERT(!m_markers.isEmpty());
506 499
507 MarkerMap::iterator iterator = m_markers.find(node); 500 MarkerMap::iterator iterator = m_markers.find(node);
508 if (iterator != m_markers.end()) 501 if (iterator != m_markers.end())
509 removeMarkersFromList(iterator, markerTypes); 502 removeMarkersFromList(iterator, markerTypes);
510 } 503 }
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 756
764 } // namespace blink 757 } // namespace blink
765 758
766 #ifndef NDEBUG 759 #ifndef NDEBUG
767 void showDocumentMarkers(const blink::DocumentMarkerController* controller) 760 void showDocumentMarkers(const blink::DocumentMarkerController* controller)
768 { 761 {
769 if (controller) 762 if (controller)
770 controller->showMarkers(); 763 controller->showMarkers();
771 } 764 }
772 #endif 765 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/dom/DocumentMarkerController.h ('k') | sky/engine/core/dom/DocumentOrderedList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698