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

Side by Side Diff: third_party/WebKit/Source/core/dom/SpaceSplitString.cpp

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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 David Smith (catfish.man@gmail.com) 2 * Copyright (C) 2007 David Smith (catfish.man@gmail.com)
3 * Copyright (C) 2007, 2008, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2007, 2008, 2011, 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 return adoptRef(new SpaceSplitString::Data(other)); 180 return adoptRef(new SpaceSplitString::Data(other));
181 } 181 }
182 182
183 SpaceSplitString::Data::Data(const AtomicString& string) : m_keyString(string) { 183 SpaceSplitString::Data::Data(const AtomicString& string) : m_keyString(string) {
184 DCHECK(!string.isNull()); 184 DCHECK(!string.isNull());
185 createVector(string); 185 createVector(string);
186 } 186 }
187 187
188 SpaceSplitString::Data::Data(const SpaceSplitString::Data& other) 188 SpaceSplitString::Data::Data(const SpaceSplitString::Data& other)
189 : RefCounted<Data>(), m_vector(other.m_vector) { 189 : RefCounted<Data>(), m_vector(other.m_vector) {
190 // Note that we don't copy m_keyString to indicate to the destructor that ther e's nothing 190 // Note that we don't copy m_keyString to indicate to the destructor that
191 // to be removed from the sharedDataMap(). 191 // there's nothing to be removed from the sharedDataMap().
192 } 192 }
193 193
194 } // namespace blink 194 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698