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

Unified Diff: third_party/WebKit/Source/platform/geometry/TransformState.cpp

Issue 2392543003: reflow comments in platform/geometry (Closed)
Patch Set: 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/platform/geometry/TransformState.cpp
diff --git a/third_party/WebKit/Source/platform/geometry/TransformState.cpp b/third_party/WebKit/Source/platform/geometry/TransformState.cpp
index 6a0ca987dd943e9dc24ac67310ac71c885311f2a..8eca08c227ea20bf75e669355b6fc3d42ae9be5b 100644
--- a/third_party/WebKit/Source/platform/geometry/TransformState.cpp
+++ b/third_party/WebKit/Source/platform/geometry/TransformState.cpp
@@ -76,7 +76,8 @@ void TransformState::move(const LayoutSize& offset,
} else {
applyAccumulatedOffset();
if (m_accumulatingTransform && m_accumulatedTransform) {
- // If we're accumulating into an existing transform, apply the translation.
+ // If we're accumulating into an existing transform, apply the
+ // translation.
translateTransform(offset);
} else {
// Just move the point and/or quad.
@@ -99,7 +100,8 @@ void TransformState::applyAccumulatedOffset() {
}
}
-// FIXME: We transform AffineTransform to TransformationMatrix. This is rather inefficient.
+// FIXME: We transform AffineTransform to TransformationMatrix. This is rather
+// inefficient.
void TransformState::applyTransform(
const AffineTransform& transformFromContainer,
TransformAccumulation accumulate,
@@ -124,7 +126,8 @@ void TransformState::applyTransform(
applyAccumulatedOffset();
- // If we have an accumulated transform from last time, multiply in this transform
+ // If we have an accumulated transform from last time, multiply in this
+ // transform
if (m_accumulatedTransform) {
if (m_direction == ApplyTransformDirection)
m_accumulatedTransform = TransformationMatrix::create(

Powered by Google App Engine
This is Rietveld 408576698