| Index: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h
|
| index edac780805469b9e7192f8a327ffc52c5582960f..300504df8e4d782dfa7c26380ef7df40070f766c 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h
|
| @@ -86,10 +86,11 @@ class PLATFORM_EXPORT PaintArtifactCompositor {
|
| class ContentLayerClientImpl;
|
|
|
| // Builds a leaf layer that represents a single paint chunk.
|
| - // Note: cc::Layer API assumes the layer bounds to start at (0, 0) but the bounding box of
|
| - // a paint chunk does not necessarily start at (0, 0) and could even be negative. Internally
|
| - // the generated layer translates the paint chunk to align the bounding box to (0, 0) and
|
| - // return the actual origin of the paint chunk in output parameter layerOffset.
|
| + // Note: cc::Layer API assumes the layer bounds start at (0, 0), but the
|
| + // bounding box of a paint chunk does not necessarily start at (0, 0) (and
|
| + // could even be negative). Internally the generated layer translates the
|
| + // paint chunk to align the bounding box to (0, 0) and return the actual
|
| + // origin of the paint chunk in the |layerOffset| outparam.
|
| scoped_refptr<cc::Layer> layerForPaintChunk(
|
| const PaintArtifact&,
|
| const PaintChunk&,
|
| @@ -97,8 +98,8 @@ class PLATFORM_EXPORT PaintArtifactCompositor {
|
| Vector<std::unique_ptr<ContentLayerClientImpl>>& newContentLayerClients,
|
| RasterInvalidationTracking*);
|
|
|
| - // Finds a client among the current vector of clients that matches the paint chunk's id,
|
| - // or otherwise allocates a new one.
|
| + // Finds a client among the current vector of clients that matches the paint
|
| + // chunk's id, or otherwise allocates a new one.
|
| std::unique_ptr<ContentLayerClientImpl> clientForPaintChunk(
|
| const PaintChunk&,
|
| const PaintArtifact&);
|
|
|