| Index: Source/bindings/v8/ScriptPromise.cpp
 | 
| diff --git a/Source/bindings/v8/ScriptPromise.cpp b/Source/bindings/v8/ScriptPromise.cpp
 | 
| index 11865ee4854c9fd76b572354a85ebfa60b06eca2..d6d8b317e0b17e3c8edd422653ad529b0f743488 100644
 | 
| --- a/Source/bindings/v8/ScriptPromise.cpp
 | 
| +++ b/Source/bindings/v8/ScriptPromise.cpp
 | 
| @@ -79,11 +79,10 @@ ScriptPromise ScriptPromise::then(PassOwnPtr<ScriptFunction> onFulfilled, PassOw
 | 
|      // In fact it is not the exact bahavior of Promise.prototype.then
 | 
|      // but that is not a problem in this case.
 | 
|      v8::Local<v8::Promise> resultPromise = promise.As<v8::Promise>();
 | 
| -    // FIXME: Use Then once it is introduced.
 | 
|      if (!v8OnFulfilled.IsEmpty()) {
 | 
| -        resultPromise = resultPromise->Chain(v8OnFulfilled);
 | 
| +        resultPromise = resultPromise->Then(v8OnFulfilled);
 | 
|          if (resultPromise.IsEmpty()) {
 | 
| -            // v8::Promise::Chain may return an empty value, for example when
 | 
| +            // v8::Promise::Then may return an empty value, for example when
 | 
|              // the stack is exhausted.
 | 
|              return ScriptPromise();
 | 
|          }
 | 
| 
 |