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

Unified Diff: Source/core/html/track/TextTrackCueGeneric.cpp

Issue 20294002: Fix trailing whitespace in .cpp, .h, and .idl files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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/core/html/track/TextTrackCueGeneric.h ('k') | Source/core/html/track/TextTrackCueList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/TextTrackCueGeneric.cpp
diff --git a/Source/core/html/track/TextTrackCueGeneric.cpp b/Source/core/html/track/TextTrackCueGeneric.cpp
index a7f0db26ef305615357af24d2c7cb2be419f3445..2ea70e39bc9a2bd4f665215005c0da050a1530f1 100644
--- a/Source/core/html/track/TextTrackCueGeneric.cpp
+++ b/Source/core/html/track/TextTrackCueGeneric.cpp
@@ -40,9 +40,9 @@ public:
{
return adoptRef(new TextTrackCueGenericBoxElement(document, cue));
}
-
+
virtual void applyCSSProperties(const IntSize&) OVERRIDE;
-
+
private:
TextTrackCueGenericBoxElement(Document*, TextTrackCue*);
};
@@ -56,7 +56,7 @@ void TextTrackCueGenericBoxElement::applyCSSProperties(const IntSize& videoSize)
{
setInlineStyleProperty(CSSPropertyPosition, CSSValueAbsolute);
setInlineStyleProperty(CSSPropertyUnicodeBidi, CSSValueWebkitPlaintext);
-
+
TextTrackCueGeneric* cue = static_cast<TextTrackCueGeneric*>(getCue());
float size = static_cast<float>(cue->getCSSSize());
@@ -75,7 +75,7 @@ void TextTrackCueGenericBoxElement::applyCSSProperties(const IntSize& videoSize)
if (cue->foregroundColor().alpha())
setInlineStyleProperty(CSSPropertyColor, cue->foregroundColor().serialized());
-
+
if (cue->backgroundColor().alpha())
cue->element()->setInlineStyleProperty(CSSPropertyBackgroundColor, cue->backgroundColor().serialized());
@@ -162,6 +162,6 @@ bool TextTrackCueGeneric::operator==(const TextTrackCue& cue) const
return TextTrackCue::operator==(cue);
}
-
+
} // namespace WebCore
« no previous file with comments | « Source/core/html/track/TextTrackCueGeneric.h ('k') | Source/core/html/track/TextTrackCueList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698