OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 | 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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 void IDBDatabase::stop() | 399 void IDBDatabase::stop() |
400 { | 400 { |
401 // Stop fires at a deterministic time, so we need to call close in it. | 401 // Stop fires at a deterministic time, so we need to call close in it. |
402 close(); | 402 close(); |
403 | 403 |
404 m_contextStopped = true; | 404 m_contextStopped = true; |
405 } | 405 } |
406 | 406 |
407 const AtomicString& IDBDatabase::interfaceName() const | 407 const AtomicString& IDBDatabase::interfaceName() const |
408 { | 408 { |
409 return eventNames().interfaceForIDBDatabase; | 409 return EventTargetNames::IDBDatabase; |
410 } | 410 } |
411 | 411 |
412 ExecutionContext* IDBDatabase::executionContext() const | 412 ExecutionContext* IDBDatabase::executionContext() const |
413 { | 413 { |
414 return ActiveDOMObject::executionContext(); | 414 return ActiveDOMObject::executionContext(); |
415 } | 415 } |
416 | 416 |
417 } // namespace WebCore | 417 } // namespace WebCore |
OLD | NEW |