Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1264)

Unified Diff: webkit/renderer/dom_storage/dom_storage_cached_area.h

Issue 15990007: Move dom_storage to new locations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/renderer/dom_storage/OWNERS ('k') | webkit/renderer/dom_storage/dom_storage_cached_area.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « webkit/renderer/dom_storage/OWNERS ('k') | webkit/renderer/dom_storage/dom_storage_cached_area.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698