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

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

Issue 1427943002: Wrap SVGImage for container during paint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use IntSize for SVGImageForContainer Created 5 years, 1 month 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
Index: third_party/WebKit/Source/core/layout/LayoutImage.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutImage.h b/third_party/WebKit/Source/core/layout/LayoutImage.h
index 540b7ad9397c31add1c2349d9c1e71ec38fb8f58..d52c9331a14bbc147b2bf3391d60025924232b7c 100644
--- a/third_party/WebKit/Source/core/layout/LayoutImage.h
+++ b/third_party/WebKit/Source/core/layout/LayoutImage.h
@@ -87,8 +87,6 @@ protected:
void paint(const PaintInfo&, const LayoutPoint&) const final;
- void layout() override;
-
bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectLayoutImage || LayoutReplaced::isOfType(type); }
void willBeDestroyed() override;
@@ -114,8 +112,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();
// This member wraps the associated decoded image.
//
« no previous file with comments | « third_party/WebKit/Source/core/layout/HitTestResult.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698