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

Unified Diff: sky/engine/core/rendering/RenderBox.h

Issue 957643002: Fix clipping of content outside the bounds of the window. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « sky/engine/core/frame/FrameView.cpp ('k') | sky/engine/core/rendering/RenderBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderBox.h
diff --git a/sky/engine/core/rendering/RenderBox.h b/sky/engine/core/rendering/RenderBox.h
index 874f67e44d76542f6185209bf400f4817cb621b6..7f9191888bae7896d70d34e4d15aa686937e725e 100644
--- a/sky/engine/core/rendering/RenderBox.h
+++ b/sky/engine/core/rendering/RenderBox.h
@@ -285,7 +285,7 @@ public:
const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation,
const HitTestingTransformState* transformState = 0, double* zOffset = 0);
- void paintLayer(GraphicsContext* context, RenderLayer* rootLayer, const IntRect& rect);
+ void paintLayer(GraphicsContext*, const LayerPaintingInfo&);
virtual void layout() override;
virtual void paint(PaintInfo&, const LayoutPoint&, Vector<RenderBox*>& layers) override;
@@ -491,7 +491,7 @@ private:
bool hitTestNonLayerDescendants(const HitTestRequest& request, HitTestResult& result,
const LayoutRect& layerBounds, const HitTestLocation& hitTestLocation);
- void paintLayerContents(GraphicsContext* context, const LayerPaintingInfo& paintingInfo, const IntRect& rect);
+ void paintLayerContents(GraphicsContext*, const LayerPaintingInfo&);
void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logicalLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&) const;
« no previous file with comments | « sky/engine/core/frame/FrameView.cpp ('k') | sky/engine/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698