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

Unified Diff: Source/bindings/dart/custom/DartMessageEventCustom.cpp

Issue 469373002: Bindings generation emits (more) correct null checking (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/dartium
Patch Set: Adding in fixes to binding generation Created 6 years, 4 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
« no previous file with comments | « Source/bindings/dart/custom/DartFormDataCustom.cpp ('k') | Source/bindings/dart/custom/DartNodeCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/dart/custom/DartMessageEventCustom.cpp
diff --git a/Source/bindings/dart/custom/DartMessageEventCustom.cpp b/Source/bindings/dart/custom/DartMessageEventCustom.cpp
index 77afcb35e866146c6707bbc58880755bb23e4397..316a49a661b7e851eceb471a7bf3a46cd7a585c7 100644
--- a/Source/bindings/dart/custom/DartMessageEventCustom.cpp
+++ b/Source/bindings/dart/custom/DartMessageEventCustom.cpp
@@ -123,7 +123,7 @@ void initMessageEventCallback(Dart_NativeArguments args)
if (exception)
goto fail;
- LocalDOMWindow* sourceArg = DartWindow::toNative(Dart_GetNativeArgument(args, 7), exception);
+ LocalDOMWindow* sourceArg = DartWindow::toNativeWithNullCheck(Dart_GetNativeArgument(args, 7), exception);
if (exception)
goto fail;
« no previous file with comments | « Source/bindings/dart/custom/DartFormDataCustom.cpp ('k') | Source/bindings/dart/custom/DartNodeCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698