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

Unified Diff: third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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
Index: third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp b/third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp
index bc3ea5033512b3e98dd7bcfbb1e5b9b1b7b1a287..29870a45d572efb567eb7ee6752d50a488ddcfc8 100644
--- a/third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp
+++ b/third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp
@@ -77,8 +77,8 @@ ScriptPromise StorageQuotaClientImpl::requestPersistentQuota(ScriptState* script
ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState);
ScriptPromise promise = resolver->promise();
- if (scriptState->executionContext()->isDocument()) {
- Document* document = toDocument(scriptState->executionContext());
+ if (scriptState->getExecutionContext()->isDocument()) {
+ Document* document = toDocument(scriptState->getExecutionContext());
WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(document->frame());
StorageQuotaCallbacks* callbacks = StorageQuotaCallbacksImpl::create(resolver);
webFrame->client()->requestStorageQuota(WebStorageQuotaTypePersistent, newQuotaInBytes, callbacks);

Powered by Google App Engine
This is Rietveld 408576698