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

Side by Side Diff: third_party/WebKit/Source/core/css/RuleFeature.cpp

Issue 1485363002: Use invalidation sets for :lang changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another rebase Created 5 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
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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 case CSSSelector::PseudoDisabled: 298 case CSSSelector::PseudoDisabled:
299 case CSSSelector::PseudoOptional: 299 case CSSSelector::PseudoOptional:
300 case CSSSelector::PseudoPlaceholderShown: 300 case CSSSelector::PseudoPlaceholderShown:
301 case CSSSelector::PseudoRequired: 301 case CSSSelector::PseudoRequired:
302 case CSSSelector::PseudoReadOnly: 302 case CSSSelector::PseudoReadOnly:
303 case CSSSelector::PseudoReadWrite: 303 case CSSSelector::PseudoReadWrite:
304 case CSSSelector::PseudoValid: 304 case CSSSelector::PseudoValid:
305 case CSSSelector::PseudoInvalid: 305 case CSSSelector::PseudoInvalid:
306 case CSSSelector::PseudoIndeterminate: 306 case CSSSelector::PseudoIndeterminate:
307 case CSSSelector::PseudoTarget: 307 case CSSSelector::PseudoTarget:
308 case CSSSelector::PseudoLang:
308 case CSSSelector::PseudoInRange: 309 case CSSSelector::PseudoInRange:
309 case CSSSelector::PseudoOutOfRange: 310 case CSSSelector::PseudoOutOfRange:
310 case CSSSelector::PseudoUnresolved: 311 case CSSSelector::PseudoUnresolved:
311 return &ensurePseudoInvalidationSet(selector.pseudoType(), type); 312 return &ensurePseudoInvalidationSet(selector.pseudoType(), type);
312 default: 313 default:
313 break; 314 break;
314 } 315 }
315 } 316 }
316 return nullptr; 317 return nullptr;
317 } 318 }
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 661
661 DEFINE_TRACE(RuleFeatureSet) 662 DEFINE_TRACE(RuleFeatureSet)
662 { 663 {
663 #if ENABLE(OILPAN) 664 #if ENABLE(OILPAN)
664 visitor->trace(siblingRules); 665 visitor->trace(siblingRules);
665 visitor->trace(uncommonAttributeRules); 666 visitor->trace(uncommonAttributeRules);
666 #endif 667 #endif
667 } 668 }
668 669
669 } // namespace blink 670 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698