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

Unified Diff: Source/WebCore/dom/ElementAttributeData.cpp

Issue 11293004: Revert 132288 - Shrink immutable ElementAttributeData and StylePropertySet by one pointer each. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1307/
Patch Set: Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/css/StylePropertySet.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/ElementAttributeData.cpp
===================================================================
--- Source/WebCore/dom/ElementAttributeData.cpp (revision 132558)
+++ Source/WebCore/dom/ElementAttributeData.cpp (working copy)
@@ -37,7 +37,7 @@
static size_t immutableElementAttributeDataSize(unsigned count)
{
- return sizeof(ElementAttributeData) + sizeof(Attribute) * count;
+ return sizeof(ImmutableElementAttributeData) + sizeof(Attribute) * count;
}
PassRefPtr<ElementAttributeData> ElementAttributeData::createImmutable(const Vector<Attribute>& attributes)
« no previous file with comments | « Source/WebCore/css/StylePropertySet.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698