| 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,
|
|
|