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

Unified Diff: Source/wtf/text/StringBuilder.h

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/wtf/text/StringBuffer.h ('k') | Source/wtf/text/StringConcatenate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/text/StringBuilder.h
diff --git a/Source/wtf/text/StringBuilder.h b/Source/wtf/text/StringBuilder.h
index e87cee97716cf709b381e90f04dbad5764d8d8aa..3d3f1e7d04b8ea125c5e59fd2b9f4ed9ae037fe0 100644
--- a/Source/wtf/text/StringBuilder.h
+++ b/Source/wtf/text/StringBuilder.h
@@ -21,7 +21,7 @@
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef StringBuilder_h
@@ -196,7 +196,7 @@ public:
if (canShrink()) {
if (is8Bit())
return AtomicString(characters8(), length());
- return AtomicString(characters16(), length());
+ return AtomicString(characters16(), length());
}
if (!m_string.isNull())
@@ -255,7 +255,7 @@ public:
ASSERT(m_buffer);
return m_buffer->characters16();
}
-
+
bool is8Bit() const { return m_is8Bit; }
void clear()
@@ -313,7 +313,7 @@ ALWAYS_INLINE UChar* StringBuilder::getBufferCharacters<UChar>()
{
ASSERT(!m_is8Bit);
return m_bufferCharacters16;
-}
+}
template <typename CharType>
bool equal(const StringBuilder& s, const CharType* buffer, unsigned length)
« no previous file with comments | « Source/wtf/text/StringBuffer.h ('k') | Source/wtf/text/StringConcatenate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698