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

Unified Diff: third_party/WebKit/Source/core/dom/MutationObserverRegistration.h

Issue 2532003002: MutationObserver: Fix a null-pointer dereference in MutationObserverRegistration::unregister. (Closed)
Patch Set: Created 4 years, 1 month 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/dom/MutationObserverRegistration.h
diff --git a/third_party/WebKit/Source/core/dom/MutationObserverRegistration.h b/third_party/WebKit/Source/core/dom/MutationObserverRegistration.h
index 25c9b8d8d54b3b6ead96ac34cb099fc0fa5ec929..de5aba3a8fa62ba0dac9f38d3dfe91fa0a3af2d9 100644
--- a/third_party/WebKit/Source/core/dom/MutationObserverRegistration.h
+++ b/third_party/WebKit/Source/core/dom/MutationObserverRegistration.h
@@ -33,6 +33,7 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/core/v8/TraceWrapperMember.h"
+#include "core/CoreExport.h"
#include "core/dom/MutationObserver.h"
#include "platform/heap/Handle.h"
#include "wtf/HashSet.h"
@@ -43,7 +44,7 @@ namespace blink {
class QualifiedName;
-class MutationObserverRegistration final
+class CORE_EXPORT MutationObserverRegistration final
: public GarbageCollectedFinalized<MutationObserverRegistration>,
public TraceWrapperBase {
public:

Powered by Google App Engine
This is Rietveld 408576698