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

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

Issue 2713673005: client-goodbye
Patch Set: Created 3 years, 10 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/LayoutSVGBlock.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h
index 9ac0a9d12449eff23edb5bbe9a4125a6394eaa1c..2ff5486f3dacc80517fdc4854800340d2b995d57 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h
@@ -57,6 +57,12 @@ class LayoutSVGBlock : public LayoutBlockFlow {
PaintLayerType layerTypeRequired() const final { return NoPaintLayer; }
+ // DisplayItemClient implementation.
+ bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const override {
+ // The inherited version doesn't check for SVG effects.
+ return false;
+ }
+
protected:
void willBeDestroyed() override;
@@ -81,11 +87,6 @@ class LayoutSVGBlock : public LayoutBlockFlow {
const HitTestLocation& locationInContainer,
const LayoutPoint& accumulatedOffset,
HitTestAction) override;
-
- // The inherited version doesn't check for SVG effects.
- bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const override {
- return false;
- }
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698