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

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: RenderObject: Cut down vtbls a bit 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
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

Powered by Google App Engine
This is Rietveld 408576698