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

Unified Diff: third_party/WebKit/Source/modules/storage/DOMWindowStorage.cpp

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 years, 1 month 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
Index: third_party/WebKit/Source/modules/storage/DOMWindowStorage.cpp
diff --git a/third_party/WebKit/Source/modules/storage/DOMWindowStorage.cpp b/third_party/WebKit/Source/modules/storage/DOMWindowStorage.cpp
index ce756a647180480c2de03b38c13982541c055ab6..e3025245fd0ed22418b5010616d7dd16b8e58787 100644
--- a/third_party/WebKit/Source/modules/storage/DOMWindowStorage.cpp
+++ b/third_party/WebKit/Source/modules/storage/DOMWindowStorage.cpp
@@ -143,4 +143,14 @@ Storage* DOMWindowStorage::localStorage(ExceptionState& exceptionState) const
return m_localStorage;
}
+Storage* DOMWindowStorage::optionalSessionStorage() const
+{
+ return m_sessionStorage.get();
+}
+
+Storage* DOMWindowStorage::optionalLocalStorage() const
+{
+ return m_localStorage.get();
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/storage/DOMWindowStorage.h ('k') | third_party/WebKit/Source/modules/storage/StorageEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698