| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2013 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 , m_executeSqlAllowed(false) | 65 , m_executeSqlAllowed(false) |
| 66 , m_readOnly(readOnly) | 66 , m_readOnly(readOnly) |
| 67 { | 67 { |
| 68 ASSERT(m_database); | 68 ASSERT(m_database); |
| 69 ScriptWrappable::init(this); | 69 ScriptWrappable::init(this); |
| 70 } | 70 } |
| 71 | 71 |
| 72 void SQLTransaction::trace(Visitor* visitor) | 72 void SQLTransaction::trace(Visitor* visitor) |
| 73 { | 73 { |
| 74 visitor->trace(m_database); | 74 visitor->trace(m_database); |
| 75 visitor->trace(m_backend); |
| 75 } | 76 } |
| 76 | 77 |
| 77 bool SQLTransaction::hasCallback() const | 78 bool SQLTransaction::hasCallback() const |
| 78 { | 79 { |
| 79 return m_callbackWrapper.hasCallback(); | 80 return m_callbackWrapper.hasCallback(); |
| 80 } | 81 } |
| 81 | 82 |
| 82 bool SQLTransaction::hasSuccessCallback() const | 83 bool SQLTransaction::hasSuccessCallback() const |
| 83 { | 84 { |
| 84 return m_successCallbackWrapper.hasCallback(); | 85 return m_successCallbackWrapper.hasCallback(); |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 m_successCallbackWrapper.clear(); | 309 m_successCallbackWrapper.clear(); |
| 309 m_errorCallbackWrapper.clear(); | 310 m_errorCallbackWrapper.clear(); |
| 310 } | 311 } |
| 311 | 312 |
| 312 PassOwnPtr<SQLTransactionErrorCallback> SQLTransaction::releaseErrorCallback() | 313 PassOwnPtr<SQLTransactionErrorCallback> SQLTransaction::releaseErrorCallback() |
| 313 { | 314 { |
| 314 return m_errorCallbackWrapper.unwrap(); | 315 return m_errorCallbackWrapper.unwrap(); |
| 315 } | 316 } |
| 316 | 317 |
| 317 } // namespace WebCore | 318 } // namespace WebCore |
| OLD | NEW |