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

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

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Capitalize the prefix. Created 4 years 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 111e9a6cf39b0c3d0811ba127643437f06531b44..f9c6af29a741196ea8910f2001636ece9c1927f3 100644
--- a/third_party/WebKit/Source/modules/storage/DOMWindowStorage.cpp
+++ b/third_party/WebKit/Source/modules/storage/DOMWindowStorage.cpp
@@ -129,7 +129,7 @@ Storage* DOMWindowStorage::localStorage(ExceptionState& exceptionState) const {
}
// FIXME: Seems this check should be much higher?
FrameHost* host = document->frameHost();
- if (!host || !host->settings().localStorageEnabled())
+ if (!host || !host->settings().GetLocalStorageEnabled())
return nullptr;
StorageArea* storageArea =
StorageNamespace::localStorageArea(document->getSecurityOrigin());

Powered by Google App Engine
This is Rietveld 408576698