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

Side by Side Diff: Source/core/rendering/svg/RenderSVGBlock.h

Issue 613783002: Smaller vtbls in RenderObject (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase better. Created 6 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 unified diff | Download patch
« no previous file with comments | « Source/core/rendering/RenderView.h ('k') | Source/core/rendering/svg/RenderSVGContainer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. 2 * Copyright (C) 2006 Apple Computer, Inc.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 virtual LayerType layerTypeRequired() const override final { return NoLayer; } 43 virtual LayerType layerTypeRequired() const override final { return NoLayer; }
44 44
45 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) override; 45 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) override;
46 46
47 protected: 47 protected:
48 virtual void willBeDestroyed() override; 48 virtual void willBeDestroyed() override;
49 49
50 AffineTransform m_localTransform; 50 AffineTransform m_localTransform;
51 51
52 virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectSVG || RenderBlockFlow::isOfType(type); }
52 private: 53 private:
53 virtual void updateFromStyle() override final; 54 virtual void updateFromStyle() override final;
54 55
55 virtual bool isSVG() const override final { return true; }
56
57 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO ffset) const override final; 56 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO ffset) const override final;
58 57
59 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov erride final; 58 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov erride final;
60 59
61 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) override; 60 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) override;
62 }; 61 };
63 62
64 } 63 }
65 #endif 64 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderView.h ('k') | Source/core/rendering/svg/RenderSVGContainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698