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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGStyleElement.h

Issue 1554903002: EventSender<T> singletons are better off on the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove no-op cancelEvent()s Created 4 years, 11 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) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 11 matching lines...) Expand all
22 #define SVGStyleElement_h 22 #define SVGStyleElement_h
23 23
24 #include "core/SVGNames.h" 24 #include "core/SVGNames.h"
25 #include "core/dom/StyleElement.h" 25 #include "core/dom/StyleElement.h"
26 #include "core/events/EventSender.h" 26 #include "core/events/EventSender.h"
27 #include "core/svg/SVGElement.h" 27 #include "core/svg/SVGElement.h"
28 #include "platform/heap/Handle.h" 28 #include "platform/heap/Handle.h"
29 29
30 namespace blink { 30 namespace blink {
31 31
32 typedef EventSender<SVGStyleElement> SVGStyleEventSender; 32 using SVGStyleEventSender = EventSender<SVGStyleElement>;
33 33
34 class SVGStyleElement final : public SVGElement 34 class SVGStyleElement final : public SVGElement
35 , public StyleElement { 35 , public StyleElement {
36 DEFINE_WRAPPERTYPEINFO(); 36 DEFINE_WRAPPERTYPEINFO();
37 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGStyleElement); 37 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGStyleElement);
38 public: 38 public:
39 static PassRefPtrWillBeRawPtr<SVGStyleElement> create(Document&, bool create dByParser); 39 static PassRefPtrWillBeRawPtr<SVGStyleElement> create(Document&, bool create dByParser);
40 ~SVGStyleElement() override; 40 ~SVGStyleElement() override;
41 41
42 using StyleElement::sheet; 42 using StyleElement::sheet;
(...skipping 27 matching lines...) Expand all
70 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } 70 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; }
71 71
72 bool sheetLoaded() override { return StyleElement::sheetLoaded(document()); } 72 bool sheetLoaded() override { return StyleElement::sheetLoaded(document()); }
73 void notifyLoadedSheetAndAllCriticalSubresources(LoadedSheetErrorStatus) ove rride; 73 void notifyLoadedSheetAndAllCriticalSubresources(LoadedSheetErrorStatus) ove rride;
74 void startLoadingDynamicSheet() override { StyleElement::startLoadingDynamic Sheet(document()); } 74 void startLoadingDynamicSheet() override { StyleElement::startLoadingDynamic Sheet(document()); }
75 }; 75 };
76 76
77 } // namespace blink 77 } // namespace blink
78 78
79 #endif // SVGStyleElement_h 79 #endif // SVGStyleElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/ImageLoader.cpp ('k') | third_party/WebKit/Source/core/svg/SVGStyleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698