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

Side by Side Diff: Source/core/dom/Element.cpp

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 years, 5 months 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
« no previous file with comments | « Source/core/dom/Element.h ('k') | Source/core/dom/NoEventDispatchAssertion.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * (C) 2007 David Smith (catfish.man@gmail.com) 6 * (C) 2007 David Smith (catfish.man@gmail.com)
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved.
8 * (C) 2007 Eric Seidel (eric@webkit.org) 8 * (C) 2007 Eric Seidel (eric@webkit.org)
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 2767 matching lines...) Expand 10 before | Expand all | Expand 10 after
2778 case SpellcheckAttributeFalse: 2778 case SpellcheckAttributeFalse:
2779 return false; 2779 return false;
2780 case SpellcheckAttributeDefault: 2780 case SpellcheckAttributeDefault:
2781 break; 2781 break;
2782 } 2782 }
2783 } 2783 }
2784 2784
2785 return true; 2785 return true;
2786 } 2786 }
2787 2787
2788 #ifndef NDEBUG 2788 #if ENABLE(ASSERT)
2789 bool Element::fastAttributeLookupAllowed(const QualifiedName& name) const 2789 bool Element::fastAttributeLookupAllowed(const QualifiedName& name) const
2790 { 2790 {
2791 if (name == HTMLNames::styleAttr) 2791 if (name == HTMLNames::styleAttr)
2792 return false; 2792 return false;
2793 2793
2794 if (isSVGElement()) 2794 if (isSVGElement())
2795 return !toSVGElement(this)->isAnimatableAttribute(name); 2795 return !toSVGElement(this)->isAnimatableAttribute(name);
2796 2796
2797 return true; 2797 return true;
2798 } 2798 }
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
3368 { 3368 {
3369 #if ENABLE(OILPAN) 3369 #if ENABLE(OILPAN)
3370 if (hasRareData()) 3370 if (hasRareData())
3371 visitor->trace(elementRareData()); 3371 visitor->trace(elementRareData());
3372 visitor->trace(m_elementData); 3372 visitor->trace(m_elementData);
3373 #endif 3373 #endif
3374 ContainerNode::trace(visitor); 3374 ContainerNode::trace(visitor);
3375 } 3375 }
3376 3376
3377 } // namespace WebCore 3377 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/Element.h ('k') | Source/core/dom/NoEventDispatchAssertion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698