Index: Source/bindings/v8/custom/V8WindowCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8WindowCustom.cpp b/Source/bindings/v8/custom/V8WindowCustom.cpp |
index 8ce5827eb2bb845295a486bca31c976b650f7fd7..0b67b777cff0adde1db81e8ca78d91544d9ad1e7 100644 |
--- a/Source/bindings/v8/custom/V8WindowCustom.cpp |
+++ b/Source/bindings/v8/custom/V8WindowCustom.cpp |
@@ -366,9 +366,10 @@ |
return; |
} |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithUndefinedOrNullCheck>, urlString, info[0]); |
+ // FIXME: Handle exceptions properly. |
+ String urlString = toWebCoreStringWithUndefinedOrNullCheck(info[0]); |
DialogHandler handler(info[1]); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithUndefinedOrNullCheck>, dialogFeaturesString, info[2]); |
+ String dialogFeaturesString = toWebCoreStringWithUndefinedOrNullCheck(info[2]); |
impl->showModalDialog(urlString, dialogFeaturesString, activeDOMWindow(), firstDOMWindow(), setUpDialog, &handler); |