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

Unified Diff: third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp

Issue 2393243003: Reflow comments in //third_party/WebKit/Sourcecore/editing/serializers (Closed)
Patch Set: Address nits 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
Index: third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp
diff --git a/third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp b/third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp
index 76b417e0a68f44a5b3cea2c8446d7af1f1d1b95d..b1dacb40eecfdc52470384a860237ebea8560ba9 100644
--- a/third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp
+++ b/third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp
@@ -1,5 +1,6 @@
/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
+ * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
+ * reserved.
* Copyright (C) 2008, 2009, 2010, 2011 Google Inc. All rights reserved.
* Copyright (C) 2011 Igalia S.L.
* Copyright (C) 2011 Motorola Mobility. All rights reserved.
@@ -98,7 +99,8 @@ void StyledMarkupAccumulator::appendTextWithInlineStyle(
Text& text,
EditingStyle* inlineStyle) {
if (inlineStyle) {
- // wrappingStyleForAnnotatedSerialization should have removed -webkit-text-decorations-in-effect
+ // wrappingStyleForAnnotatedSerialization should have removed
+ // -webkit-text-decorations-in-effect.
DCHECK(!shouldAnnotate() ||
propertyMissingOrEqualToNone(
inlineStyle->style(), CSSPropertyWebkitTextDecorationsInEffect));
@@ -168,7 +170,8 @@ void StyledMarkupAccumulator::appendElement(StringBuilder& out,
}
void StyledMarkupAccumulator::wrapWithStyleNode(StylePropertySet* style) {
- // wrappingStyleForSerialization should have removed -webkit-text-decorations-in-effect
+ // wrappingStyleForSerialization should have removed
+ // -webkit-text-decorations-in-effect.
DCHECK(propertyMissingOrEqualToNone(
style, CSSPropertyWebkitTextDecorationsInEffect));
DCHECK(m_document);
@@ -193,7 +196,8 @@ String StyledMarkupAccumulator::takeResults() {
result.append(m_result);
- // We remove '\0' characters because they are not visibly rendered to the user.
+ // We remove '\0' characters because they are not visibly rendered to the
+ // user.
return result.toString().replace(0, "");
}

Powered by Google App Engine
This is Rietveld 408576698