Index: Source/bindings/v8/custom/V8HTMLFrameElementCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8HTMLFrameElementCustom.cpp b/Source/bindings/v8/custom/V8HTMLFrameElementCustom.cpp |
index a7ad64edc1760af269c8930bf6e3f32ef116cef9..8c011d0d92261915239309026d22b4208a8fedb3 100644 |
--- a/Source/bindings/v8/custom/V8HTMLFrameElementCustom.cpp |
+++ b/Source/bindings/v8/custom/V8HTMLFrameElementCustom.cpp |
@@ -45,7 +45,7 @@ using namespace HTMLNames; |
void V8HTMLFrameElement::locationAttributeSetterCustom(v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
{ |
HTMLFrameElement* frame = V8HTMLFrameElement::toNative(info.Holder()); |
- String locationValue = toWebCoreStringWithNullCheck(value); |
+ V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, locationValue, value); |
ExceptionState exceptionState(info.Holder(), info.GetIsolate()); |
if (protocolIsJavaScript(stripLeadingAndTrailingHTMLSpaces(locationValue)) && !BindingSecurity::shouldAllowAccessToFrame(frame->contentFrame(), exceptionState)) { |