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

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

Issue 22887044: [oilpan] Make the oilpan branch build on Mac. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Add FIXME. Created 7 years, 4 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/DocumentEventQueue.cpp ('k') | Source/core/dom/NodeRenderingContext.cpp » ('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 2916 matching lines...) Expand 10 before | Expand all | Expand 10 after
2927 } 2927 }
2928 2928
2929 ElementData::ElementData() 2929 ElementData::ElementData()
2930 : m_isUnique(true) 2930 : m_isUnique(true)
2931 , m_arraySize(0) 2931 , m_arraySize(0)
2932 , m_presentationAttributeStyleIsDirty(false) 2932 , m_presentationAttributeStyleIsDirty(false)
2933 , m_styleAttributeIsDirty(false) 2933 , m_styleAttributeIsDirty(false)
2934 #if ENABLE(SVG) 2934 #if ENABLE(SVG)
2935 , m_animatedSVGAttributesAreDirty(false) 2935 , m_animatedSVGAttributesAreDirty(false)
2936 #endif 2936 #endif
2937 , m_classNames(0)
2938 { 2937 {
2939 Handle<ElementData> thisHandle(this); 2938 Handle<ElementData> thisHandle(this);
2940 thisHandle->m_classNames = SpaceSplitString::create(); 2939 thisHandle->m_classNames = SpaceSplitString::create();
2941 } 2940 }
2942 2941
2943 ElementData::ElementData(unsigned arraySize) 2942 ElementData::ElementData(unsigned arraySize)
2944 : m_isUnique(false) 2943 : m_isUnique(false)
2945 , m_arraySize(arraySize) 2944 , m_arraySize(arraySize)
2946 , m_presentationAttributeStyleIsDirty(false) 2945 , m_presentationAttributeStyleIsDirty(false)
2947 , m_styleAttributeIsDirty(false) 2946 , m_styleAttributeIsDirty(false)
2948 #if ENABLE(SVG) 2947 #if ENABLE(SVG)
2949 , m_animatedSVGAttributesAreDirty(false) 2948 , m_animatedSVGAttributesAreDirty(false)
2950 #endif 2949 #endif
2951 , m_classNames(0)
2952 { 2950 {
2953 Handle<ElementData> thisHandle(this); 2951 Handle<ElementData> thisHandle(this);
2954 thisHandle->m_classNames = SpaceSplitString::create(); 2952 thisHandle->m_classNames = SpaceSplitString::create();
2955 } 2953 }
2956 2954
2957 struct SameSizeAsElementData : public HeapAllocatedFinalized<SameSizeAsElementDa ta> { 2955 struct SameSizeAsElementData : public HeapAllocatedFinalized<SameSizeAsElementDa ta> {
2958 unsigned bitfield; 2956 unsigned bitfield;
2959 void* members[3]; 2957 void* members[3];
2960 }; 2958 };
2961 2959
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
3150 return &m_attributeVector.at(index); 3148 return &m_attributeVector.at(index);
3151 } 3149 }
3152 3150
3153 void UniqueElementData::acceptHeapVisitor(Visitor* visitor) const 3151 void UniqueElementData::acceptHeapVisitor(Visitor* visitor) const
3154 { 3152 {
3155 visitor->visit(m_presentationAttributeStyle); 3153 visitor->visit(m_presentationAttributeStyle);
3156 ElementData::acceptHeapVisitor(visitor); 3154 ElementData::acceptHeapVisitor(visitor);
3157 } 3155 }
3158 3156
3159 } // namespace WebCore 3157 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/DocumentEventQueue.cpp ('k') | Source/core/dom/NodeRenderingContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698