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

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

Issue 18258003: Pow __proto__, sock :unresolved, and clunk the created callback at once. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
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 2308 matching lines...) Expand 10 before | Expand all | Expand 10 after
2319 void Element::setIsInCanvasSubtree(bool isInCanvasSubtree) 2319 void Element::setIsInCanvasSubtree(bool isInCanvasSubtree)
2320 { 2320 {
2321 ensureElementRareData()->setIsInCanvasSubtree(isInCanvasSubtree); 2321 ensureElementRareData()->setIsInCanvasSubtree(isInCanvasSubtree);
2322 } 2322 }
2323 2323
2324 bool Element::isInCanvasSubtree() const 2324 bool Element::isInCanvasSubtree() const
2325 { 2325 {
2326 return hasRareData() && elementRareData()->isInCanvasSubtree(); 2326 return hasRareData() && elementRareData()->isInCanvasSubtree();
2327 } 2327 }
2328 2328
2329 bool Element::isUnresolvedCustomElement()
2330 {
2331 return isCustomElement() && document()->registry()->isUnresolved(this);
2332 }
2333
2334 void Element::setRegionOversetState(RegionOversetState state) 2329 void Element::setRegionOversetState(RegionOversetState state)
2335 { 2330 {
2336 ensureElementRareData()->setRegionOversetState(state); 2331 ensureElementRareData()->setRegionOversetState(state);
2337 } 2332 }
2338 2333
2339 RegionOversetState Element::regionOversetState() const 2334 RegionOversetState Element::regionOversetState() const
2340 { 2335 {
2341 return hasRareData() ? elementRareData()->regionOversetState() : RegionUndef ined; 2336 return hasRareData() ? elementRareData()->regionOversetState() : RegionUndef ined;
2342 } 2337 }
2343 2338
(...skipping 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after
3566 return 0; 3561 return 0;
3567 } 3562 }
3568 3563
3569 Attribute* UniqueElementData::attributeItem(unsigned index) 3564 Attribute* UniqueElementData::attributeItem(unsigned index)
3570 { 3565 {
3571 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); 3566 ASSERT_WITH_SECURITY_IMPLICATION(index < length());
3572 return &m_attributeVector.at(index); 3567 return &m_attributeVector.at(index);
3573 } 3568 }
3574 3569
3575 } // namespace WebCore 3570 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698