| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 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 met: | 5 * modification, are permitted provided that the following conditions are met: |
| 6 * | 6 * |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 return 0; | 82 return 0; |
| 83 | 83 |
| 84 Page* page = document->page(); | 84 Page* page = document->page(); |
| 85 if (!page) | 85 if (!page) |
| 86 return 0; | 86 return 0; |
| 87 | 87 |
| 88 if (!m_window.isCurrentlyDisplayedInFrame()) | 88 if (!m_window.isCurrentlyDisplayedInFrame()) |
| 89 return 0; | 89 return 0; |
| 90 | 90 |
| 91 if (!m_idbFactory) | 91 if (!m_idbFactory) |
| 92 m_idbFactory = IDBFactory::create(IDBFactoryBackendInterface::create().g
et()); | 92 m_idbFactory = IDBFactory::create(IndexedDBClient::create().get()); |
| 93 return m_idbFactory.get(); | 93 return m_idbFactory.get(); |
| 94 } | 94 } |
| 95 | 95 |
| 96 } // namespace WebCore | 96 } // namespace WebCore |
| OLD | NEW |