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

Side by Side Diff: Source/core/css/InspectorCSSOMWrappers.cpp

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Fix typo Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r ights reserved. 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r ights reserved.
6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 break; 80 break;
81 #if ENABLE(CSS_REGIONS) 81 #if ENABLE(CSS_REGIONS)
82 case CSSRule::WEBKIT_REGION_RULE: 82 case CSSRule::WEBKIT_REGION_RULE:
83 collect(static_cast<WebKitCSSRegionRule*>(cssRule)); 83 collect(static_cast<WebKitCSSRegionRule*>(cssRule));
84 break; 84 break;
85 #endif 85 #endif
86 case CSSRule::HOST_RULE: 86 case CSSRule::HOST_RULE:
87 collect(static_cast<CSSHostRule*>(cssRule)); 87 collect(static_cast<CSSHostRule*>(cssRule));
88 break; 88 break;
89 case CSSRule::STYLE_RULE: { 89 case CSSRule::STYLE_RULE: {
90 // FIXME(oilpan): We should visit this map instead of 90 // FIXME(oilpan): We should trace this map instead of
91 // relying on something else keeping the style rule alive. 91 // relying on something else keeping the style rule alive.
92 CSSStyleRule* cssStyleRule = static_cast<CSSStyleRule*>(cssRule); 92 CSSStyleRule* cssStyleRule = static_cast<CSSStyleRule*>(cssRule);
93 StyleRule* styleRule = cssStyleRule->styleRule(); 93 StyleRule* styleRule = cssStyleRule->styleRule();
94 m_styleRuleToCSSOMWrapperMap.add(styleRule, cssStyleRule); 94 m_styleRuleToCSSOMWrapperMap.add(styleRule, cssStyleRule);
95 break; 95 break;
96 } 96 }
97 default: 97 default:
98 break; 98 break;
99 } 99 }
100 } 100 }
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 info.addMember(m_styleSheetCSSOMWrapperSet); 152 info.addMember(m_styleSheetCSSOMWrapperSet);
153 } 153 }
154 154
155 void InspectorCSSOMWrappers::trace(Visitor* visitor) 155 void InspectorCSSOMWrappers::trace(Visitor* visitor)
156 { 156 {
157 visitor->trace(m_styleRuleToCSSOMWrapperMap); 157 visitor->trace(m_styleRuleToCSSOMWrapperMap);
158 visitor->trace(m_styleSheetCSSOMWrapperSet); 158 visitor->trace(m_styleSheetCSSOMWrapperSet);
159 } 159 }
160 160
161 } // namespace WebCore 161 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698