| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (c) 2009, 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 v8::Handle<v8::Value> argv[] = { | 65 v8::Handle<v8::Value> argv[] = { |
| 66 transactionHandle, | 66 transactionHandle, |
| 67 errorHandle | 67 errorHandle |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 bool callbackReturnValue = false; | 70 bool callbackReturnValue = false; |
| 71 // Step 6: If the error callback returns false, then move on to the next | 71 // Step 6: If the error callback returns false, then move on to the next |
| 72 // statement, if any, or onto the next overall step otherwise. Otherwise, | 72 // statement, if any, or onto the next overall step otherwise. Otherwise, |
| 73 // the error callback did not return false, or there was no error callback. | 73 // the error callback did not return false, or there was no error callback. |
| 74 // Jump to the last step in the overall steps. | 74 // Jump to the last step in the overall steps. |
| 75 return invokeCallback(m_callback.newLocal(isolate), 2, argv, callbackReturnV
alue, scriptExecutionContext()) || callbackReturnValue; | 75 return invokeCallback(m_callback.newLocal(isolate), 2, argv, callbackReturnV
alue, scriptExecutionContext(), isolate) || callbackReturnValue; |
| 76 } | 76 } |
| 77 | 77 |
| 78 } // namespace WebCore | 78 } // namespace WebCore |
| OLD | NEW |