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

Unified Diff: third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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/paint/InlineTextBoxPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
index 83530023b7de60b2f0972dfeec8c79d7814e2a9a..e49e972055c2297ec68eb8afbfe81d6b49a11f30 100644
--- a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
@@ -178,7 +178,6 @@ static void RestoreContextFromDecoration(GraphicsContext& context,
}
}
-
static void ComputeOriginAndWidthForBox(const InlineTextBox& box,
LayoutPoint& local_origin,
LayoutUnit& width) {
@@ -755,16 +754,10 @@ sk_sp<PaintRecord> RecordMarker(DocumentMarker::MarkerType marker_type) {
// top->bottom translucent gradient.
const SkColor colors[2] = {
- SkColorSetARGB(0x48,
- SkColorGetR(color),
- SkColorGetG(color),
+ SkColorSetARGB(0x48, SkColorGetR(color), SkColorGetG(color),
SkColorGetB(color)),
- color
- };
- const SkPoint pts[2] = {
- SkPoint::Make(0, 0),
- SkPoint::Make(0, 2 * kR)
- };
+ color};
+ const SkPoint pts[2] = {SkPoint::Make(0, 0), SkPoint::Make(0, 2 * kR)};
PaintFlags flags;
flags.setAntiAlias(true);

Powered by Google App Engine
This is Rietveld 408576698