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

Unified Diff: third_party/WebKit/Source/core/dom/ElementData.h

Issue 2390543002: Reflow comments in core/dom/. (Closed)
Patch Set: Reformat comments in core/dom/. Created 4 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 | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/dom/ElementData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/ElementData.h
diff --git a/third_party/WebKit/Source/core/dom/ElementData.h b/third_party/WebKit/Source/core/dom/ElementData.h
index 37f5b78e4b958dfe2930488403edef40918b27ad..a71d5f0f207857a9c59790c2fb3f93dd8044f8d9 100644
--- a/third_party/WebKit/Source/core/dom/ElementData.h
+++ b/third_party/WebKit/Source/core/dom/ElementData.h
@@ -87,7 +87,8 @@ class ElementData : public GarbageCollectedFinalized<ElementData> {
explicit ElementData(unsigned arraySize);
ElementData(const ElementData&, bool isUnique);
- // Keep the type in a bitfield instead of using virtual destructors to avoid adding a vtable.
+ // Keep the type in a bitfield instead of using virtual destructors to avoid
+ // adding a vtable.
unsigned m_isUnique : 1;
unsigned m_arraySize : 28;
mutable unsigned m_presentationAttributeStyleIsDirty : 1;
@@ -136,9 +137,9 @@ class ShareableElementData final : public ElementData {
// Add support for placement new as ShareableElementData is not allocated
// with a fixed size. Instead the allocated memory size is computed based on
- // the number of attributes. This requires us to use ThreadHeap::allocate directly
- // with the computed size and subsequently call placement new with the
- // allocated memory address.
+ // the number of attributes. This requires us to use ThreadHeap::allocate
+ // directly with the computed size and subsequently call placement new with
+ // the allocated memory address.
void* operator new(std::size_t, void* location) { return location; }
AttributeCollection attributes() const;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/dom/ElementData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698