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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h

Issue 2617653002: bindings: Don't throw a TypeError when 'null' is passed to nullable callback function (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h b/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h
index ff73a01e4aead87db7e152ef717107387baf303f..3c4da238cd4624709af4a79d91ed09fdf560be75 100644
--- a/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h
+++ b/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h
@@ -25,9 +25,7 @@ class ScriptState;
class MODULES_EXPORT VoidCallbackFunctionModules final : public GarbageCollectedFinalized<VoidCallbackFunctionModules>, public TraceWrapperBase {
public:
- static VoidCallbackFunctionModules* create(ScriptState* scriptState, v8::Local<v8::Function> callback) {
- return new VoidCallbackFunctionModules(scriptState, callback);
- }
+ static VoidCallbackFunctionModules* create(ScriptState* scriptState, v8::Local<v8::Value> callback);
~VoidCallbackFunctionModules() = default;

Powered by Google App Engine
This is Rietveld 408576698