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

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

Issue 2430313004: Paint collapsed borders of a table as one display item (Closed)
Patch Set: - Created 4 years, 1 month 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/PaintLayerPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
index fecc486fce674db0db2429b4c04c97f07da15c22..8db5323e37fea119179216c5d33c3be06b1ed0da 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
@@ -64,7 +64,7 @@ static ShouldRespectOverflowClipType shouldRespectOverflowClip(
: RespectOverflowClip;
}
-PaintLayerPainter::PaintResult PaintLayerPainter::paintLayer(
+PaintResult PaintLayerPainter::paintLayer(
GraphicsContext& context,
const PaintLayerPaintingInfo& paintingInfo,
PaintLayerFlags paintFlags) {
@@ -111,8 +111,7 @@ PaintLayerPainter::PaintResult PaintLayerPainter::paintLayer(
paintFlags);
}
-PaintLayerPainter::PaintResult
-PaintLayerPainter::paintLayerContentsCompositingAllPhases(
+PaintResult PaintLayerPainter::paintLayerContentsCompositingAllPhases(
GraphicsContext& context,
const PaintLayerPaintingInfo& paintingInfo,
PaintLayerFlags paintFlags,
@@ -208,8 +207,7 @@ static bool shouldRepaintSubsequence(
// Repaint if previously the layer might be clipped by paintDirtyRect and
// paintDirtyRect changes.
- if (paintLayer.previousPaintResult() ==
- PaintLayerPainter::MayBeClippedByPaintDirtyRect &&
+ if (paintLayer.previousPaintResult() == MayBeClippedByPaintDirtyRect &&
paintLayer.previousPaintDirtyRect() != paintingInfo.paintDirtyRect) {
needsRepaint = true;
shouldClearEmptyPaintPhaseFlags = true;
@@ -228,7 +226,7 @@ static bool shouldRepaintSubsequence(
return needsRepaint;
}
-PaintLayerPainter::PaintResult PaintLayerPainter::paintLayerContents(
+PaintResult PaintLayerPainter::paintLayerContents(
GraphicsContext& context,
const PaintLayerPaintingInfo& paintingInfoArg,
PaintLayerFlags paintFlags,
@@ -550,7 +548,7 @@ bool PaintLayerPainter::atLeastOneFragmentIntersectsDamageRect(
return false;
}
-PaintLayerPainter::PaintResult PaintLayerPainter::paintLayerWithTransform(
+PaintResult PaintLayerPainter::paintLayerWithTransform(
GraphicsContext& context,
const PaintLayerPaintingInfo& paintingInfo,
PaintLayerFlags paintFlags) {
@@ -680,8 +678,7 @@ PaintLayerPainter::PaintResult PaintLayerPainter::paintLayerWithTransform(
return result;
}
-PaintLayerPainter::PaintResult
-PaintLayerPainter::paintFragmentByApplyingTransform(
+PaintResult PaintLayerPainter::paintFragmentByApplyingTransform(
GraphicsContext& context,
const PaintLayerPaintingInfo& paintingInfo,
PaintLayerFlags paintFlags,
@@ -722,7 +719,7 @@ PaintLayerPainter::paintFragmentByApplyingTransform(
context, transformedPaintingInfo, paintFlags, ForceSingleFragment);
}
-PaintLayerPainter::PaintResult PaintLayerPainter::paintChildren(
+PaintResult PaintLayerPainter::paintChildren(
unsigned childrenToVisit,
GraphicsContext& context,
const PaintLayerPaintingInfo& paintingInfo,

Powered by Google App Engine
This is Rietveld 408576698