Index: Source/modules/webdatabase/DatabaseBackendBase.cpp |
diff --git a/Source/modules/webdatabase/DatabaseBackendBase.cpp b/Source/modules/webdatabase/DatabaseBackendBase.cpp |
index fdb7af3055fc3db34bc275a13e33d85fe0ce6638..299bcc1343bda004eb0760acd6daf9fc64bd6216 100644 |
--- a/Source/modules/webdatabase/DatabaseBackendBase.cpp |
+++ b/Source/modules/webdatabase/DatabaseBackendBase.cpp |
@@ -606,8 +606,8 @@ bool DatabaseBackendBase::isInterrupted() |
// See about:histograms in chromium. |
void DatabaseBackendBase::reportOpenDatabaseResult(int errorSite, int webSqlErrorCode, int sqliteErrorCode) |
{ |
- if (blink::Platform::current()->databaseObserver()) { |
- blink::Platform::current()->databaseObserver()->reportOpenDatabaseResult( |
+ if (Platform::current()->databaseObserver()) { |
+ Platform::current()->databaseObserver()->reportOpenDatabaseResult( |
createDatabaseIdentifierFromSecurityOrigin(securityOrigin()), |
stringIdentifier(), isSyncDatabase(), |
errorSite, webSqlErrorCode, sqliteErrorCode); |
@@ -616,8 +616,8 @@ void DatabaseBackendBase::reportOpenDatabaseResult(int errorSite, int webSqlErro |
void DatabaseBackendBase::reportChangeVersionResult(int errorSite, int webSqlErrorCode, int sqliteErrorCode) |
{ |
- if (blink::Platform::current()->databaseObserver()) { |
- blink::Platform::current()->databaseObserver()->reportChangeVersionResult( |
+ if (Platform::current()->databaseObserver()) { |
+ Platform::current()->databaseObserver()->reportChangeVersionResult( |
createDatabaseIdentifierFromSecurityOrigin(securityOrigin()), |
stringIdentifier(), isSyncDatabase(), |
errorSite, webSqlErrorCode, sqliteErrorCode); |
@@ -626,8 +626,8 @@ void DatabaseBackendBase::reportChangeVersionResult(int errorSite, int webSqlErr |
void DatabaseBackendBase::reportStartTransactionResult(int errorSite, int webSqlErrorCode, int sqliteErrorCode) |
{ |
- if (blink::Platform::current()->databaseObserver()) { |
- blink::Platform::current()->databaseObserver()->reportStartTransactionResult( |
+ if (Platform::current()->databaseObserver()) { |
+ Platform::current()->databaseObserver()->reportStartTransactionResult( |
createDatabaseIdentifierFromSecurityOrigin(securityOrigin()), |
stringIdentifier(), isSyncDatabase(), |
errorSite, webSqlErrorCode, sqliteErrorCode); |
@@ -636,8 +636,8 @@ void DatabaseBackendBase::reportStartTransactionResult(int errorSite, int webSql |
void DatabaseBackendBase::reportCommitTransactionResult(int errorSite, int webSqlErrorCode, int sqliteErrorCode) |
{ |
- if (blink::Platform::current()->databaseObserver()) { |
- blink::Platform::current()->databaseObserver()->reportCommitTransactionResult( |
+ if (Platform::current()->databaseObserver()) { |
+ Platform::current()->databaseObserver()->reportCommitTransactionResult( |
createDatabaseIdentifierFromSecurityOrigin(securityOrigin()), |
stringIdentifier(), isSyncDatabase(), |
errorSite, webSqlErrorCode, sqliteErrorCode); |
@@ -646,8 +646,8 @@ void DatabaseBackendBase::reportCommitTransactionResult(int errorSite, int webSq |
void DatabaseBackendBase::reportExecuteStatementResult(int errorSite, int webSqlErrorCode, int sqliteErrorCode) |
{ |
- if (blink::Platform::current()->databaseObserver()) { |
- blink::Platform::current()->databaseObserver()->reportExecuteStatementResult( |
+ if (Platform::current()->databaseObserver()) { |
+ Platform::current()->databaseObserver()->reportExecuteStatementResult( |
createDatabaseIdentifierFromSecurityOrigin(securityOrigin()), |
stringIdentifier(), isSyncDatabase(), |
errorSite, webSqlErrorCode, sqliteErrorCode); |
@@ -656,8 +656,8 @@ void DatabaseBackendBase::reportExecuteStatementResult(int errorSite, int webSql |
void DatabaseBackendBase::reportVacuumDatabaseResult(int sqliteErrorCode) |
{ |
- if (blink::Platform::current()->databaseObserver()) { |
- blink::Platform::current()->databaseObserver()->reportVacuumDatabaseResult( |
+ if (Platform::current()->databaseObserver()) { |
+ Platform::current()->databaseObserver()->reportVacuumDatabaseResult( |
createDatabaseIdentifierFromSecurityOrigin(securityOrigin()), |
stringIdentifier(), isSyncDatabase(), sqliteErrorCode); |
} |