Index: third_party/WebKit/Source/bindings/core/v8/custom/V8DevToolsHostCustom.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8DevToolsHostCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8DevToolsHostCustom.cpp |
index 873539f50be2a7bad239f479c4ee94279d1594c6..16088db2bb8c285f5fb38558c6747c42e45e0833 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8DevToolsHostCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8DevToolsHostCustom.cpp |
@@ -120,10 +120,10 @@ void V8DevToolsHost::showContextMenuAtPointMethodCustom(const v8::FunctionCallba |
v8::Isolate* isolate = info.GetIsolate(); |
float x = toRestrictedFloat(isolate, info[0], exceptionState); |
- if (exceptionState.throwIfNeeded()) |
+ if (exceptionState.hadException()) |
return; |
float y = toRestrictedFloat(isolate, info[1], exceptionState); |
- if (exceptionState.throwIfNeeded()) |
+ if (exceptionState.hadException()) |
return; |
v8::Local<v8::Value> array = v8::Local<v8::Value>::Cast(info[2]); |
@@ -155,4 +155,3 @@ void V8DevToolsHost::showContextMenuAtPointMethodCustom(const v8::FunctionCallba |
} |
} // namespace blink |
- |