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

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

Issue 856563006: Remove background obscuration checks. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/rendering/RenderBoxModelObject.h ('k') | sky/engine/core/rendering/RenderImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderImage.h
diff --git a/sky/engine/core/rendering/RenderImage.h b/sky/engine/core/rendering/RenderImage.h
index 829bd7fb97ebe01e42b4a1862db155161b2b402a..e99976d4a341f4e1dd839458ebc139d8701a5b1b 100644
--- a/sky/engine/core/rendering/RenderImage.h
+++ b/sky/engine/core/rendering/RenderImage.h
@@ -68,16 +68,10 @@ private:
virtual void paintReplaced(PaintInfo&, const LayoutPoint&) override;
- virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, unsigned maxDepthToTest) const override final;
- virtual bool computeBackgroundIsKnownToBeObscured() override final;
-
virtual LayoutUnit minimumReplacedHeight() const override;
- virtual void notifyFinished(Resource*) override final;
virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override final;
- virtual bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, InlineFlowBox*) const override final;
-
void updateIntrinsicSizeIfNeeded(const LayoutSize& newSize);
// Update the size of the image to be rendered. Object-fit may cause this to be different from the CSS box's content rect.
void updateInnerContentRect();
« no previous file with comments | « sky/engine/core/rendering/RenderBoxModelObject.h ('k') | sky/engine/core/rendering/RenderImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698