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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.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/modules/webdatabase/SQLTransactionClient.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp b/third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp
index e88c926e7e66e6eb25c8ddf8a2140cf89c719e41..5670e2f6d27bfc5bf44f0d6012c18c35604f9b3c 100644
--- a/third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp
@@ -51,9 +51,9 @@ static void databaseModified(const String& originIdentifier, const String& datab
void SQLTransactionClient::didCommitWriteTransaction(Database* database)
{
- String originIdentifier = createDatabaseIdentifierFromSecurityOrigin(database->securityOrigin());
+ String originIdentifier = createDatabaseIdentifierFromSecurityOrigin(database->getSecurityOrigin());
String databaseName = database->stringIdentifier();
- ExecutionContext* executionContext = database->databaseContext()->executionContext();
+ ExecutionContext* executionContext = database->getDatabaseContext()->getExecutionContext();
if (!executionContext->isContextThread()) {
executionContext->postTask(BLINK_FROM_HERE, createCrossThreadTask(&databaseModified, originIdentifier, databaseName));
} else {
@@ -65,7 +65,7 @@ bool SQLTransactionClient::didExceedQuota(Database* database)
{
// Chromium does not allow users to manually change the quota for an origin (for now, at least).
// Don't do anything.
- ASSERT(database->databaseContext()->executionContext()->isContextThread());
+ ASSERT(database->getDatabaseContext()->getExecutionContext()->isContextThread());
return false;
}

Powered by Google App Engine
This is Rietveld 408576698