Index: Source/bindings/v8/custom/V8WindowCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8WindowCustom.cpp b/Source/bindings/v8/custom/V8WindowCustom.cpp |
index c1b2492ff46e3e12db3c9552b5dbede8f18230c2..694f0f8b6a768f681b3890652ad17e4c9e990ba1 100644 |
--- a/Source/bindings/v8/custom/V8WindowCustom.cpp |
+++ b/Source/bindings/v8/custom/V8WindowCustom.cpp |
@@ -139,9 +139,9 @@ void windowSetTimeoutImpl(const v8::FunctionCallbackInfo<v8::Value>& info, bool |
int32_t timeout = argumentCount >= 2 ? info[1]->Int32Value() : 0; |
int timerId; |
if (singleShot) |
- timerId = DOMWindowTimers::setTimeout(imp, action.release(), timeout); |
+ timerId = DOMWindowTimers::setTimeout(*imp, action.release(), timeout); |
else |
- timerId = DOMWindowTimers::setInterval(imp, action.release(), timeout); |
+ timerId = DOMWindowTimers::setInterval(*imp, action.release(), timeout); |
// Try to do the idle notification before the timeout expires to get better |
// use of any idle time. Aim for the middle of the interval for simplicity. |