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

Unified Diff: webkit/dom_storage/dom_storage_session.cc

Issue 10969012: Fix: Prerendering was confusing SessionService to not save sessionStorage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review. Created 8 years, 3 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/dom_storage/dom_storage_session.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/dom_storage/dom_storage_session.cc
diff --git a/webkit/dom_storage/dom_storage_session.cc b/webkit/dom_storage/dom_storage_session.cc
index 57aedfa475e8ca1a39bb5b7c0c36a76c587f0582..76b58a445a1a289781bef8f279bf9b25d07222a2 100644
--- a/webkit/dom_storage/dom_storage_session.cc
+++ b/webkit/dom_storage/dom_storage_session.cc
@@ -40,6 +40,10 @@ void DomStorageSession::SetShouldPersist(bool should_persist) {
should_persist_ = should_persist;
}
+bool DomStorageSession::should_persist() const {
+ return should_persist_;
+}
+
bool DomStorageSession::IsFromContext(DomStorageContext* context) {
return context_.get() == context;
}
« no previous file with comments | « webkit/dom_storage/dom_storage_session.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698