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

Unified Diff: Source/core/layout/LayoutImage.h

Issue 1339183003: NOT FOR LANDING Experiment with allocating SVGImageForContainer on demand (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 3 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 | « Source/core/fetch/ImageResource.cpp ('k') | Source/core/layout/LayoutImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutImage.h
diff --git a/Source/core/layout/LayoutImage.h b/Source/core/layout/LayoutImage.h
index a4a2d8106711ec330b7eadb42471fdb745e2e78d..be4f60e2a3bca545842e88b9d46d991eba4c6d09 100644
--- a/Source/core/layout/LayoutImage.h
+++ b/Source/core/layout/LayoutImage.h
@@ -78,7 +78,6 @@ protected:
void paint(const PaintInfo&, const LayoutPoint&) final;
- void layout() override;
bool updateImageLoadingPriorities() final;
bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectLayoutImage || LayoutReplaced::isOfType(type); }
@@ -106,8 +105,6 @@ private:
void invalidatePaintAndMarkForLayoutIfNeeded();
void updateIntrinsicSizeIfNeeded(const LayoutSize&);
- // 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();
// Text to display as long as the image isn't available.
OwnPtrWillBePersistent<LayoutImageResource> m_imageResource;
« no previous file with comments | « Source/core/fetch/ImageResource.cpp ('k') | Source/core/layout/LayoutImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698