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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h

Issue 2023213002: binding: Makes XxxObserverCallback use V8PrivateProperty instead of V8HiddenValue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Synced. Created 4 years, 7 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/bindings/core/v8/V8MutationCallback.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h b/third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h
index beb9cda249475f33eba76268bd83427a09bbd243..a090efdb186e98861a486c15ad96bc13d90a541f 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h
@@ -28,15 +28,14 @@
#include "bindings/core/v8/ActiveDOMCallback.h"
#include "bindings/core/v8/ScopedPersistent.h"
-#include "bindings/core/v8/ScriptState.h"
#include "core/dom/MutationCallback.h"
-#include "wtf/OwnPtr.h"
#include "wtf/RefPtr.h"
#include <v8.h>
namespace blink {
class ExecutionContext;
+class ScriptState;
class V8MutationCallback final : public MutationCallback, public ActiveDOMCallback {
USING_GARBAGE_COLLECTED_MIXIN(V8MutationCallback);
@@ -55,8 +54,6 @@ public:
private:
V8MutationCallback(v8::Local<v8::Function>, v8::Local<v8::Object>, ScriptState*);
- static void setWeakCallback(const v8::WeakCallbackInfo<V8MutationCallback>&);
-
ScopedPersistent<v8::Function> m_callback;
RefPtr<ScriptState> m_scriptState;
};

Powered by Google App Engine
This is Rietveld 408576698