| Index: webkit/renderer/dom_storage/dom_storage_cached_area.h
|
| ===================================================================
|
| --- webkit/renderer/dom_storage/dom_storage_cached_area.h (revision 0)
|
| +++ webkit/renderer/dom_storage/dom_storage_cached_area.h (working copy)
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef WEBKIT_DOM_STORAGE_DOM_STORAGE_CACHED_AREA_H_
|
| -#define WEBKIT_DOM_STORAGE_DOM_STORAGE_CACHED_AREA_H_
|
| +#ifndef WEBKIT_RENDERER_DOM_STORAGE_DOM_STORAGE_CACHED_AREA_H_
|
| +#define WEBKIT_RENDERER_DOM_STORAGE_DOM_STORAGE_CACHED_AREA_H_
|
|
|
| #include <map>
|
|
|
| @@ -57,7 +57,7 @@
|
| // Primes the cache, loading all values for the area.
|
| void Prime(int connection_id);
|
| void PrimeIfNeeded(int connection_id) {
|
| - if (!map_)
|
| + if (!map_.get())
|
| Prime(connection_id);
|
| }
|
|
|
| @@ -89,4 +89,4 @@
|
|
|
| } // namespace dom_storage
|
|
|
| -#endif // WEBKIT_DOM_STORAGE_DOM_STORAGE_CACHED_AREA_H_
|
| +#endif // WEBKIT_RENDERER_DOM_STORAGE_DOM_STORAGE_CACHED_AREA_H_
|
|
|