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

Unified Diff: third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl

Issue 2675943003: Remove custom left overs from object grouping (Closed)
Patch Set: Rebase (0 changes) 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/bindings/templates/callback_function.h.tmpl
diff --git a/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl b/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl
index 133cfa1a53548c0e1b106792068d867b51404a4f..8a16e16dde0a9a36542222b9bc0ebf4c0dc5db22 100644
--- a/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl
@@ -31,11 +31,6 @@ class {{exported}}{{cpp_class}} final : public GarbageCollectedFinalized<{{cpp_c
return m_callback.newLocal(isolate);
}
- void setWrapperReference(v8::Isolate* isolate, const v8::Persistent<v8::Object>& wrapper) {
- DCHECK(!m_callback.isEmpty());
- m_callback.setReference(wrapper, isolate);
- }
-
private:
{{cpp_class}}(ScriptState*, v8::Local<v8::Function>);

Powered by Google App Engine
This is Rietveld 408576698