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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.h

Issue 1367193003: NOT FOR LANDING Allocate SVGImageForContainer on demand (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added some NeedsRebaseline and revived some LayoutListMarker code that turned out to be important Created 5 years, 2 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
Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.h
index 1e176f6efb1d0e265a6064671b0fed517cb1d0c3..94dfd5091cd5432851b6a6b6536fb42938e77625 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.h
@@ -52,6 +52,8 @@ public:
const char* name() const override { return "LayoutSVGImage"; }
+ FloatSize computeImageViewportSize(ImageResource&) const;
+
protected:
void willBeDestroyed() override;
@@ -67,7 +69,6 @@ private:
void updateBoundingBox();
void updateImageContainerSize();
- FloatSize computeImageViewportSize(ImageResource&) const;
bool nodeAtFloatPoint(HitTestResult&, const FloatPoint& pointInParent, HitTestAction) override;

Powered by Google App Engine
This is Rietveld 408576698