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

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/custom/V8DeviceMotionEventCustom.cpp

Issue 2566823002: Remove deprecated ExceptionState constructors. (Closed)
Patch Set: Created 4 years 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/modules/v8/custom/V8DeviceMotionEventCustom.cpp
diff --git a/third_party/WebKit/Source/bindings/modules/v8/custom/V8DeviceMotionEventCustom.cpp b/third_party/WebKit/Source/bindings/modules/v8/custom/V8DeviceMotionEventCustom.cpp
index 2e6f48248ab5ab0b5d53574e3b79de53e39d0ddb..00817475a40c0e276346fb8a7e111af67ec1ea9c 100644
--- a/third_party/WebKit/Source/bindings/modules/v8/custom/V8DeviceMotionEventCustom.cpp
+++ b/third_party/WebKit/Source/bindings/modules/v8/custom/V8DeviceMotionEventCustom.cpp
@@ -125,9 +125,9 @@ DeviceMotionData::RotationRate* readRotationRateArgument(
void V8DeviceMotionEvent::initDeviceMotionEventMethodCustom(
const v8::FunctionCallbackInfo<v8::Value>& info) {
// TODO(haraken): This custom binding should mimic auto-generated code more.
- ExceptionState exceptionState(ExceptionState::ExecutionContext,
- "initDeviceMotionEvent", "DeviceMotionEvent",
- info.Holder(), info.GetIsolate());
+ ExceptionState exceptionState(info.GetIsolate(),
+ ExceptionState::ExecutionContext,
+ "DeviceMotionEvent", "initDeviceMotionEvent");
DeviceMotionEvent* impl = V8DeviceMotionEvent::toImpl(info.Holder());
v8::Isolate* isolate = info.GetIsolate();
V8StringResource<> type(info[0]);

Powered by Google App Engine
This is Rietveld 408576698