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

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

Issue 2367543004: Extended implementation to use interface as arguments (Closed)
Patch Set: Use generated code for callback function Created 4 years, 3 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/V8PerformanceObserverCallback.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerformanceObserverCallback.h b/third_party/WebKit/Source/bindings/core/v8/V8PerformanceObserverCallback.h
index d875564088ecbc99d6467fea5fa90da66ca83e4c..dc560215275f7974ccd24dd56bde7ed49449f1c9 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerformanceObserverCallback.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerformanceObserverCallback.h
@@ -8,9 +8,11 @@
#include "bindings/core/v8/ActiveDOMCallback.h"
#include "bindings/core/v8/DOMWrapperWorld.h"
#include "bindings/core/v8/ScopedPersistent.h"
+#include "bindings/core/v8/V8PerformanceObserverInnerCallback.h"
#include "core/CoreExport.h"
#include "core/timing/PerformanceObserverCallback.h"
+
namespace blink {
class V8PerformanceObserverCallback final : public PerformanceObserverCallback, public ActiveDOMCallback {
@@ -30,7 +32,7 @@ public:
private:
CORE_EXPORT V8PerformanceObserverCallback(v8::Local<v8::Function>, v8::Local<v8::Object>, ScriptState*);
- ScopedPersistent<v8::Function> m_callback;
+ Member<V8PerformanceObserverInnerCallback> m_callback;
RefPtr<ScriptState> m_scriptState;
};

Powered by Google App Engine
This is Rietveld 408576698